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
eab938d5
Commit
eab938d5
authored
Sep 01, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
d8478d16
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/lib/gitlab/ci/stage/seed_spec.rb
spec/lib/gitlab/ci/stage/seed_spec.rb
+1
-1
spec/models/ci/build_spec.rb
spec/models/ci/build_spec.rb
+1
-1
No files found.
spec/lib/gitlab/ci/stage/seed_spec.rb
View file @
eab938d5
...
@@ -33,7 +33,7 @@ describe Gitlab::Ci::Stage::Seed do
...
@@ -33,7 +33,7 @@ describe Gitlab::Ci::Stage::Seed do
allow_any_instance_of
(
Project
).
to
receive
(
:protected_for?
).
and_return
(
true
)
allow_any_instance_of
(
Project
).
to
receive
(
:protected_for?
).
and_return
(
true
)
end
end
it
'returns
un
protected builds'
do
it
'returns protected builds'
do
expect
(
subject
.
builds
).
to
all
(
include
(
protected:
true
))
expect
(
subject
.
builds
).
to
all
(
include
(
protected:
true
))
end
end
end
end
...
...
spec/models/ci/build_spec.rb
View file @
eab938d5
...
@@ -58,7 +58,7 @@ describe Ci::Build do
...
@@ -58,7 +58,7 @@ describe Ci::Build do
it
{
is_expected
.
not_to
include
(
job
)
}
it
{
is_expected
.
not_to
include
(
job
)
}
end
end
context
'when protected is
false
'
do
context
'when protected is
nil
'
do
let!
(
:job
)
{
create
(
:ci_build
)
}
let!
(
:job
)
{
create
(
:ci_build
)
}
before
do
before
do
...
...
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