Permalink
Browse files

Liberalize picky test

  • Loading branch information...
1 parent 1ca9c26 commit 8087d518425597ab1a667878702dd3aaa9def488 @jeremy jeremy committed Jan 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionmailer/test/mail_service_test.rb
@@ -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

0 comments on commit 8087d51

Please sign in to comment.