Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
3dc8c312
Commit
3dc8c312
authored
Apr 07, 2017
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix selector for form wrapper
parent
7d17fcea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/features/protected_tags/access_control_ce_spec.rb
spec/features/protected_tags/access_control_ce_spec.rb
+2
-2
No files found.
spec/features/protected_tags/access_control_ce_spec.rb
View file @
3dc8c312
...
@@ -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
(
'.
js-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
...
@@ -31,7 +31,7 @@ RSpec.shared_examples "protected tags > access control > CE" do
...
@@ -31,7 +31,7 @@ RSpec.shared_examples "protected tags > access control > CE" do
within
(
".protected-tags-list"
)
do
within
(
".protected-tags-list"
)
do
find
(
".js-allowed-to-create"
).
click
find
(
".js-allowed-to-create"
).
click
within
(
'.js-allowed-to-create-container'
)
do
within
(
'.js-allowed-to-create-container'
)
do
expect
(
first
(
"li"
)).
to
have_content
(
"Roles"
)
expect
(
first
(
"li"
)).
to
have_content
(
"Roles"
)
click_on
access_type_name
click_on
access_type_name
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment