diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-05-07 04:08:58 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-05-07 04:10:00 +0900 |
commit | b201474756a2ee493406ad0cb49f49c6873bdc28 (patch) | |
tree | 5bf7fc2271ddc5d4ed511db35893c2049142831b /actionmailer | |
parent | af58740b8d943f90a18c3e7ceca9432775cfe192 (diff) | |
download | rails-b201474756a2ee493406ad0cb49f49c6873bdc28.tar.gz rails-b201474756a2ee493406ad0cb49f49c6873bdc28.tar.bz2 rails-b201474756a2ee493406ad0cb49f49c6873bdc28.zip |
Should escape meta characters in regexp
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/test/log_subscriber_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/test/log_subscriber_test.rb b/actionmailer/test/log_subscriber_test.rb index d864c3acca..7969782e07 100644 --- a/actionmailer/test/log_subscriber_test.rb +++ b/actionmailer/test/log_subscriber_test.rb @@ -26,7 +26,7 @@ class AMLogSubscriberTest < ActionMailer::TestCase wait assert_equal(1, @logger.logged(:info).size) - assert_match(/Sent mail to system@test.lindsaar.net/, @logger.logged(:info).first) + assert_match(/Sent mail to system@test\.lindsaar\.net/, @logger.logged(:info).first) assert_equal(2, @logger.logged(:debug).size) assert_match(/BaseMailer#welcome: processed outbound mail in [\d.]+ms/, @logger.logged(:debug).first) |