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
84626fbb
Commit
84626fbb
authored
Aug 25, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add feature spec
parent
64149177
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
spec/features/runners_spec.rb
spec/features/runners_spec.rb
+15
-0
No files found.
spec/features/runners_spec.rb
View file @
84626fbb
...
...
@@ -43,6 +43,21 @@ feature 'Runners' do
expect
(
page
).
not_to
have_content
(
specific_runner
.
display_name
)
end
scenario
'user edits the runner to be protected'
do
visit
runners_path
(
project
)
within
'.activated-specific-runners'
do
first
(
'.edit-runner > a'
).
click
end
expect
(
page
.
find_field
(
'runner[access_level]'
)).
not_to
be_checked
check
'runner_access_level'
click_button
'Save changes'
expect
(
page
).
to
have_content
'Protected Yes'
end
context
'when a runner has a tag'
do
background
do
specific_runner
.
update
(
tag_list:
[
'tag'
])
...
...
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