Commit 902054db authored by James Edwards-Jones's avatar James Edwards-Jones

Fix within('#new_protected_tag') in protected tags spec

parent 7d17fcea
...@@ -5,7 +5,7 @@ RSpec.shared_examples "protected tags > access control > CE" do ...@@ -5,7 +5,7 @@ RSpec.shared_examples "protected tags > access control > CE" do
set_protected_tag_name('master') set_protected_tag_name('master')
within('.new_protected_tag') do within('#new_protected_tag') do
allowed_to_create_button = find(".js-allowed-to-create") allowed_to_create_button = find(".js-allowed-to-create")
unless allowed_to_create_button.text == access_type_name unless allowed_to_create_button.text == access_type_name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment