From 305064a639a1306d06d932818cd2d03eb8a6280d Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Mon, 6 Mar 2017 12:43:29 +0100 Subject: Fix invalid description in commit status specs --- app/models/commit_status.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/commit_status.rb') diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb index 6518f54cdff..44b2c1fb1db 100644 --- a/app/models/commit_status.rb +++ b/app/models/commit_status.rb @@ -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 -- cgit v1.2.1