Skip to content
Snippets Groups Projects
Commit 305064a6 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Fix invalid description in commit status specs

parent 8ac0f2d3
Branches
Tags
1 merge request!9585Make manual actions blocking
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment