Liberalize picky test
This commit is contained in:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user