diff options
author | Mike Greiling <mgreiling@gitlab.com> | 2017-06-06 08:28:39 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-06-06 08:28:39 +0000 |
commit | e245d7eebe747378f4158b30634ab0da4df59117 (patch) | |
tree | c710812e72c181c066728817ef06c90e836acee3 /spec/helpers/projects_helper_spec.rb | |
parent | 17feb2faa71416b3459003eeb2a877f2c65dd3ef (diff) | |
download | gitlab-ce-e245d7eebe747378f4158b30634ab0da4df59117.tar.gz |
Resolve "When changing project visibility setting, change other dropdowns automatically"
Diffstat (limited to 'spec/helpers/projects_helper_spec.rb')
-rw-r--r-- | spec/helpers/projects_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/projects_helper_spec.rb b/spec/helpers/projects_helper_spec.rb index 54c5ba57bdf..a695621b87a 100644 --- a/spec/helpers/projects_helper_spec.rb +++ b/spec/helpers/projects_helper_spec.rb @@ -257,7 +257,7 @@ describe ProjectsHelper do result = helper.project_feature_access_select(:issues_access_level) expect(result).to include("Disabled") expect(result).to include("Only team members") - expect(result).not_to include("Everyone with access") + expect(result).to have_selector('option[disabled]', text: "Everyone with access") end end @@ -272,7 +272,7 @@ describe ProjectsHelper do expect(result).to include("Disabled") expect(result).to include("Only team members") - expect(result).not_to include("Everyone with access") + expect(result).to have_selector('option[disabled]', text: "Everyone with access") expect(result).to have_selector('option[selected]', text: "Only team members") end end |