From 5a4aee36a5bfd615475aae80d9549855b46a098c Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Fri, 7 Apr 2017 02:29:17 +0800 Subject: [PATCH] Make sure that's canceled --- spec/models/commit_status_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/commit_status_spec.rb b/spec/models/commit_status_spec.rb index 8e07e6694bf..0ee85489574 100644 --- a/spec/models/commit_status_spec.rb +++ b/spec/models/commit_status_spec.rb @@ -107,7 +107,7 @@ describe CommitStatus, :models do context 'when it is canceled' do before do - commit_status.cancel + commit_status.update(status: 'canceled') end context 'when there is auto_canceled_by' do