spec/kosher/book_spec.rb in kosher-0.2.20 vs spec/kosher/book_spec.rb in kosher-0.2.21
- old
+ new
@@ -20,11 +20,11 @@
@offer2.stub!(:kosher?).and_return(true)
@offer2.stub!(:price).and_return(Money.new(100, 'EUR'))
@book.offers << @offer2
end
- it "returns the kosher offer with the lower price" do
+ it "returns the kosher offer with the lowest price" do
@book.best_kosher_offer.should eql @offer2
end
end
context "when there is one kosher and one unkosher offer" do
@@ -36,10 +36,10 @@
@offer2.stub!(:kosher?).and_return(false)
@offer2.stub!(:price).and_return(Money.new(100, 'EUR'))
@book.offers << @offer2
end
- it "returns the best kosher offer" do
+ it "returns the kosher offer" do
@book.best_kosher_offer.should eql @offer1
end
end
context "when there is one kosher offer" do