[refs #847] fixed spec

This commit is contained in:
Alexander Machehin 2013-01-24 13:15:49 +06:00
parent 0d9c095cbd
commit 8e17c05532
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ describe Api::V1::BuildListsController do
it "should cancel build list" do
@build_list.update_column(:status, BuildList::BUILD_PENDING)
do_cancel
@build_list.reload.status.should == BuildList::BUILD_CANCELED
@build_list.reload.status.should == BuildList::BUILD_CANCELING
end
end