rollback changes

This commit is contained in:
Vokhmin Alexey V 2014-09-23 22:52:55 +04:00
parent 9c1e12f44a
commit 13f4286199
1 changed files with 3 additions and 2 deletions

View File

@ -125,13 +125,14 @@ describe BuildList do
end
it "doesn't get notification by email when auto_publish_into_testing and status - Build complete" do
build_list.auto_publish_status =BuildList::AUTO_PUBLISH_STATUS_TESTING
build_list.auto_publish_status = BuildList::AUTO_PUBLISH_STATUS_TESTING
build_list.build_success
should have(:no).items
end
it "doesn't get notification by email when mass build" do
build_list.mass_build_id = -1 # Don't care
mb = FactoryGirl.create(:mass_build)
build_list.mass_build_id = mb.id
build_list.status = BuildList::BUILD_PUBLISH
build_list.published
should have(:no).items