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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
a5b10196
Commit
a5b10196
authored
Nov 19, 2015
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests
parent
fd6b5894
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/services/ci/create_commit_service_spec.rb
spec/services/ci/create_commit_service_spec.rb
+2
-2
No files found.
spec/services/ci/create_commit_service_spec.rb
View file @
a5b10196
...
...
@@ -64,7 +64,7 @@ module Ci
expect
(
result
).
to
be_persisted
expect
(
result
.
builds
.
any?
).
to
be_falsey
expect
(
result
.
status
).
to
eq
(
'skipped'
)
expect
(
commit
.
yaml_errors
).
to_not
be_nil
expect
(
result
.
yaml_errors
).
to
be_nil
end
it
'skips commits if yaml is invalid'
do
...
...
@@ -79,7 +79,7 @@ module Ci
commits:
commits
)
expect
(
commit
.
builds
.
any?
).
to
be
false
expect
(
commit
.
status
).
to
eq
(
'
skipp
ed'
)
expect
(
commit
.
status
).
to
eq
(
'
fail
ed'
)
expect
(
commit
.
yaml_errors
).
to_not
be_nil
end
...
...
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