spec/kosher/seller_spec.rb in kosher-0.6.2 vs spec/kosher/seller_spec.rb in kosher-0.7.0

- old
+ new

@@ -6,11 +6,11 @@ @seller = Seller.new end describe "#blacklisted?" do before do - Kosher.seller_blacklist = ['foo'] + Kosher.seller_blacklist << 'foo' end it "returns true if the seller is blacklisted" do @seller.id = 'foo' @seller.should be_blacklisted @@ -46,10 +46,10 @@ @seller.should_not be_kosher end it "returns false if seller is blacklisted" do @seller.id = ['foo'] - Kosher.seller_blacklist = [@seller.id] + Kosher.seller_blacklist << @seller.id @seller.should_not be_kosher end end end end