Liberalize picky test

This commit is contained in:
Jeremy Kemper 2010-01-07 17:08:02 -08:00
parent 1ca9c26301
commit 8087d51842

@ -1113,7 +1113,7 @@ def test_return_path_with_create
def test_return_path_with_deliver
ActionMailer::Base.delivery_method = :smtp
TestMailer.deliver_return_path
assert_match %r{^Return-Path: another@somewhere.test}, MockSMTP.deliveries[0][0]
assert_match %r{^Return-Path:.*another@somewhere.test}, MockSMTP.deliveries[0][0]
assert_equal "another@somewhere.test", MockSMTP.deliveries[0][1].to_s
end