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
Léo-Paul Géneau
gitlab-ce
Commits
305064a6
Commit
305064a6
authored
Mar 06, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix invalid description in commit status specs
parent
8ac0f2d3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/models/commit_status.rb
app/models/commit_status.rb
+1
-1
spec/models/commit_status_spec.rb
spec/models/commit_status_spec.rb
+1
-1
No files found.
app/models/commit_status.rb
View file @
305064a6
...
...
@@ -29,7 +29,7 @@ class CommitStatus < ActiveRecord::Base
end
scope
:exclude_ignored
,
->
do
# We want to ignore failed
_but_allowed
jobs
# We want to ignore failed
but allowed to fail
jobs
where
(
"allow_failure = ? OR status IN (?)"
,
false
,
all_state_names
-
[
:failed
,
:canceled
,
:manual
])
end
...
...
spec/models/commit_status_spec.rb
View file @
305064a6
...
...
@@ -158,7 +158,7 @@ describe CommitStatus, :models do
end
end
describe
'.
exclude_ignored
'
do
describe
'.
after_stage
'
do
subject
{
described_class
.
after_stage
(
0
)
}
let
(
:statuses
)
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