1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

minor change to content type checking to make it more flexible when utf8 is returned

Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
Josh Kalderimis 2010-03-28 19:48:03 +02:00 committed by José Valim
parent 81926c2cd2
commit a6a018253e
3 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ class ConfirmationInstructionsTest < ActionMailer::TestCase
end
test 'content type should be set to html' do
assert_equal 'text/html', mail.content_type
assert mail.content_type.include?('text/html')
end
test 'send confirmation instructions to the user email' do

View file

@ -27,7 +27,7 @@ class ResetPasswordInstructionsTest < ActionMailer::TestCase
end
test 'content type should be set to html' do
assert_equal 'text/html', mail.content_type
assert mail.content_type.include?('text/html')
end
test 'send confirmation instructions to the user email' do

View file

@ -27,7 +27,7 @@ class UnlockInstructionsTest < ActionMailer::TestCase
end
test 'content type should be set to html' do
assert_equal 'text/html', mail.content_type
assert mail.content_type.include?('text/html')
end
test 'send unlock instructions to the user email' do