test/isbn_spec.rb in isbn-2.0.3 vs test/isbn_spec.rb in isbn-2.0.4
- old
+ new
@@ -56,8 +56,8 @@
ISBN.valid?("9780763740382").must_equal true
ISBN.valid?("9790879392788").must_equal true
ISBN.valid?("2900820472675").must_equal true
ISBN.valid?("012781910X").must_equal true
ISBN.valid?("9887401392").must_equal false
- proc { ISBN.valid?("082047267") }.must_raise ISBN::InvalidISBNError
+ ISBN.valid?("082047267").must_equal false
end
end
\ No newline at end of file