Updating functional tests to not compare equality with encoded, Mail::Message has an == operator

This commit is contained in:
José Valim and Mikel Lindsaar
2010-01-22 13:32:16 +11:00
parent 90bbed233e
commit c9dc1ac95b

View File

@@ -7,7 +7,7 @@ class <%= class_name %>Test < ActionMailer::TestCase
@expected.body = read_fixture('<%= action %>')
@expected.date = Time.now
assert_equal @expected.encoded, <%= class_name %>.create_<%= action %>(@expected.date).encoded
assert_equal @expected, <%= class_name %>.create_<%= action %>(@expected.date)
end
<% end -%>