spec/kosher/book_spec.rb in kosher-0.2.17 vs spec/kosher/book_spec.rb in kosher-0.2.18
- old
+ new
@@ -64,8 +64,14 @@
it "returns nil" do
@book.best_kosher_offer.should be_nil
end
end
+
+ context "when there are no offers" do
+ it "returns nil" do
+ @book.best_kosher_offer.should be_nil
+ end
+ end
end
end
end