aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-01-07 17:08:02 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2010-01-07 17:08:02 -0800
commit8087d518425597ab1a667878702dd3aaa9def488 (patch)
treee64557e9f25f6c55bf178e62fe852526e59d04b7 /actionmailer
parent1ca9c2630167edc8948b865dce8d76ac3e5575c9 (diff)
downloadrails-8087d518425597ab1a667878702dd3aaa9def488.tar.gz
rails-8087d518425597ab1a667878702dd3aaa9def488.tar.bz2
rails-8087d518425597ab1a667878702dd3aaa9def488.zip
Liberalize picky test
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/test/mail_service_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb
index f66b4a174b..fa32537d0c 100644
--- a/actionmailer/test/mail_service_test.rb
+++ b/actionmailer/test/mail_service_test.rb
@@ -1113,7 +1113,7 @@ EOF
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