diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-14 18:12:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-14 18:12:05 +0300 |
commit | b119503b7039d1e79b87300a145afdcd1145c2d6 (patch) | |
tree | 9977d51c4fd8177a20f1805c14f0cb6750baee1c /spec/views | |
parent | d378fdaa60adb7217e3fc798580ad206127728d5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/views')
-rw-r--r-- | spec/views/projects/project_members/index.html.haml_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/views/projects/project_members/index.html.haml_spec.rb b/spec/views/projects/project_members/index.html.haml_spec.rb index ba255a474e2..b9b0d57bcb5 100644 --- a/spec/views/projects/project_members/index.html.haml_spec.rb +++ b/spec/views/projects/project_members/index.html.haml_spec.rb @@ -25,7 +25,7 @@ RSpec.describe 'projects/project_members/index', :aggregate_failures do expect(rendered).to have_content('Project members') expect(rendered).to have_content('You can invite a new member') - expect(rendered).to have_link('Import a project') + expect(rendered).to have_selector('.js-import-a-project-modal') expect(rendered).to have_selector('.js-invite-group-trigger') expect(rendered).to have_selector('.js-invite-members-trigger') expect(rendered).not_to have_content('Members can be added by project') @@ -85,7 +85,7 @@ RSpec.describe 'projects/project_members/index', :aggregate_failures do expect(rendered).to have_content('Project members') expect(rendered).not_to have_content('You can invite a new member') - expect(rendered).not_to have_link('Import a project') + expect(rendered).not_to have_selector('.js-import-a-project-modal') expect(rendered).not_to have_selector('.js-invite-group-trigger') expect(rendered).not_to have_selector('.js-invite-members-trigger') expect(rendered).to have_content('Members can be added by project') |