Commit 5a4aee36 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Make sure that's canceled

parent beedfc8d
...@@ -107,7 +107,7 @@ describe CommitStatus, :models do ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment