test/test_movie-renamer.rb in movie-renamer-0.0.7 vs test/test_movie-renamer.rb in movie-renamer-0.0.8
- old
+ new
@@ -27,10 +27,10 @@
end
# test title extraction
must "extract a title correctly with bad words in filename" do
['DIvX-ITa Kill Bill Vol. 2','(Divx-Ita )Kill Bill Vol. 2',
- 'Divx- ita Kill Bill Vol. 2',
+ 'Divx- ita Kill Bill Vol. 2','(Divx - ita) - Kill Bill Vol. 2',
'[Divx-Ita ]Kill Bill Vol. 2','Kill Bill Vol. 2 [divx - Ita ]'].each do |name|
assert_equal "Kill Bill Vol. 2", MovieRenamer::titleExtract(name)
end
end