test/test_emaildiff.rb in diff-0.3.3 vs test/test_emaildiff.rb in diff-0.3.4
- old
+ new
@@ -5,17 +5,17 @@
require 'emaildiff'
require 'test_emailcases'
class EmailDiffTest < RUNIT::TestCase
- include DiffArrayTests
- def difftest(a, b, c)
+ include EmailDiffArrayTests
+ def emailtest(a, b, c)
#puts "old string:"
#puts a
#puts "new string:"
#puts b
diff = EmailDiff.new(a, b)
- d = a.patch(diff,888,999)
+ d = a.patch_email(diff,888,999)
#puts "result:"
#puts d
assert_equal(c,d)
end
end