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
a79cd2a2
Commit
a79cd2a2
authored
Aug 24, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No longer needed
parent
c6f09f4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
spec/models/build_spec.rb
spec/models/build_spec.rb
+2
-4
No files found.
spec/models/build_spec.rb
View file @
a79cd2a2
...
...
@@ -275,8 +275,7 @@ describe Ci::Build, models: true do
context
'when yaml_variables are undefined'
do
before
do
build
.
update
(
yaml_variables:
nil
)
build
.
reload
# reload pipeline so that it resets config_processor
build
.
yaml_variables
=
nil
end
context
'use from gitlab-ci.yml'
do
...
...
@@ -902,8 +901,7 @@ describe Ci::Build, models: true do
context
'when `when` is undefined'
do
before
do
build
.
update
(
when:
nil
)
build
.
reload
# reload pipeline so that it resets config_processor
build
.
when
=
nil
end
context
'use from gitlab-ci.yml'
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