test/isbn_spec.rb in isbn-2.0.0 vs test/isbn_spec.rb in isbn-2.0.1
- old
+ new
@@ -8,10 +8,11 @@
["0415990793","9780415990790"], ["1596670274","9781596670273"], ["0618800565","9780618800568"],
["0812971256","9780812971255"], ["0465032117","9780465032112"], ["0721606318","9780721606316"],
["0887273939","9780887273933"], ["012781910X","9780127819105"], ["0736061819","9780736061810"],
["0763748951","9780763748951"], ["0470196181","9780470196182"], ["0736064036","9780736064033"],
["0743488040","9780743488044"], ["0470130733","9780470130735"], ["0816516502","9780816516506"],
- ["074324382X","9780743243827"], ["0887401392","9780887401398"], ["0582404800","9780582404809"]]
+ ["074324382X","9780743243827"], ["0887401392","9780887401398"], ["0582404800","9780582404809"],
+ ["2906571385","9782906571389"]]
it "should respond with a ten digit isbn" do
ISBNS.each do |isbn|
ISBN.ten(isbn[1]).must_equal isbn[0]
ISBN.ten(isbn[0]).must_equal isbn[0]
\ No newline at end of file