#358: added specs

This commit is contained in:
Vokhmin Alexey V 2014-02-20 01:23:38 +04:00
parent 160a8dc967
commit 4b1e0f2efd
1 changed files with 6 additions and 0 deletions

View File

@ -79,6 +79,12 @@ describe BuildList do
should have(:no).items
end
it "doesn't get notification by email when auto_publish_into_testing and status - Build complete" do
build_list.update_attributes(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.update_attributes({mass_build_id: 1, status: BuildList::BUILD_PUBLISH}, without_protection: true)
build_list.published