Permalink
Browse files

#358: added specs

  • Loading branch information...
1 parent 160a8dc commit 4b1e0f2efd2734e3ebeeae4625a234c0d806a767 @avokhmin avokhmin committed Feb 19, 2014
Showing with 6 additions and 0 deletions.
  1. +6 −0 spec/models/build_list_spec.rb
@@ -79,6 +79,12 @@
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

0 comments on commit 4b1e0f2

Please sign in to comment.