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
Boxiang Sun
gitlab-ce
Commits
2170eec6
Commit
2170eec6
authored
Aug 29, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec
parent
13b9b5f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
spec/models/ci/runner_spec.rb
spec/models/ci/runner_spec.rb
+2
-2
spec/services/ci/register_job_service_spec.rb
spec/services/ci/register_job_service_spec.rb
+2
-2
No files found.
spec/models/ci/runner_spec.rb
View file @
2170eec6
...
@@ -482,9 +482,9 @@ describe Ci::Runner do
...
@@ -482,9 +482,9 @@ describe Ci::Runner do
end
end
describe
'.access_level'
do
describe
'.access_level'
do
context
'when access_level of a runner is protected'
do
context
'when access_level of a runner is
ref_
protected'
do
before
do
before
do
create
(
:ci_runner
,
:protected
)
create
(
:ci_runner
,
:
ref_
protected
)
end
end
it
'a protected runner exists'
do
it
'a protected runner exists'
do
...
...
spec/services/ci/register_job_service_spec.rb
View file @
2170eec6
...
@@ -233,8 +233,8 @@ module Ci
...
@@ -233,8 +233,8 @@ module Ci
end
end
end
end
context
'when a runner is protected'
do
context
'when a runner is
ref_
protected'
do
let!
(
:specific_runner
)
{
create
(
:ci_runner
,
:protected
,
:specific
)
}
let!
(
:specific_runner
)
{
create
(
:ci_runner
,
:
ref_
protected
,
:specific
)
}
context
'when a job is protected'
do
context
'when a job is protected'
do
let!
(
:pending_build
)
{
create
(
:ci_build
,
:protected
,
pipeline:
pipeline
)
}
let!
(
:pending_build
)
{
create
(
:ci_build
,
:protected
,
pipeline:
pipeline
)
}
...
...
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