Make sure that's canceled

This commit is contained in:
Lin Jen-Shin 2017-04-07 02:29:17 +08:00
parent beedfc8d94
commit 5a4aee36a5

View file

@ -107,7 +107,7 @@ describe CommitStatus, :models do
context 'when it is canceled' do context 'when it is canceled' do
before do before do
commit_status.cancel commit_status.update(status: 'canceled')
end end
context 'when there is auto_canceled_by' do context 'when there is auto_canceled_by' do