aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/log_subscriber_test.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2017-05-07 20:16:42 +0200
committerGitHub <noreply@github.com>2017-05-07 20:16:42 +0200
commit45095a817b29f3b4956abce5d059410d591b902a (patch)
tree5bf7fc2271ddc5d4ed511db35893c2049142831b /actionmailer/test/log_subscriber_test.rb
parentaf58740b8d943f90a18c3e7ceca9432775cfe192 (diff)
parentb201474756a2ee493406ad0cb49f49c6873bdc28 (diff)
downloadrails-45095a817b29f3b4956abce5d059410d591b902a.tar.gz
rails-45095a817b29f3b4956abce5d059410d591b902a.tar.bz2
rails-45095a817b29f3b4956abce5d059410d591b902a.zip
Merge pull request #29005 from kamipo/should_escape_meta_chars_in_regexp
Should escape meta characters in regexp
Diffstat (limited to 'actionmailer/test/log_subscriber_test.rb')
-rw-r--r--actionmailer/test/log_subscriber_test.rb2
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)