spec/kosher/string_spec.rb in kosher-0.0.2 vs spec/kosher/string_spec.rb in kosher-0.0.3
- old
+ new
@@ -33,9 +33,11 @@
it "does not validate books with missing volumes" do
this("First vol only.").should_not be_kosher
end
it "does not validate damaged or worn books" do
+ this("Different").should be_kosher
+ this("Rental").should_not be_kosher
this("Torn pages").should_not be_kosher
end
it "does not validate withdrawn library copies" do
this("xlib").should_not be_kosher