summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2017-04-06 21:21:13 +0100
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-04-06 21:21:13 +0100
commit902054db59e02cb14c28ecffd9dff95994dbb01f (patch)
tree4357875593da2500e5b1b64b5f0e738e7c851890 /spec/features
parent7d17fcea84760d4c8d94b03adc4a23ef733ad4e5 (diff)
downloadgitlab-ce-902054db59e02cb14c28ecffd9dff95994dbb01f.tar.gz
Fix within('#new_protected_tag') in protected tags spec
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/protected_tags/access_control_ce_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/protected_tags/access_control_ce_spec.rb b/spec/features/protected_tags/access_control_ce_spec.rb
index de2556041e7..6e2bff82785 100644
--- a/spec/features/protected_tags/access_control_ce_spec.rb
+++ b/spec/features/protected_tags/access_control_ce_spec.rb
@@ -5,7 +5,7 @@ RSpec.shared_examples "protected tags > access control > CE" do
set_protected_tag_name('master')
- within('.new_protected_tag') do
+ within('#new_protected_tag') do
allowed_to_create_button = find(".js-allowed-to-create")
unless allowed_to_create_button.text == access_type_name