summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorDan Bode <bodepd@gmail.com>2010-09-02 02:25:38 -0400
committerJames Turnbull <james@lovedthanlost.net>2010-09-23 09:17:27 +1000
commit7b8cb741596c7a20a25caf4250d86d7e1c24f319 (patch)
tree1d68a750b25ca82e92c9f08ec801528aa0809664 /spec
parent6f229eea198d85fd1b37ccaaa3e8257c592707e7 (diff)
downloadpuppet-7b8cb741596c7a20a25caf4250d86d7e1c24f319.tar.gz
puppet-7b8cb741596c7a20a25caf4250d86d7e1c24f319.tar.xz
puppet-7b8cb741596c7a20a25caf4250d86d7e1c24f319.zip
Fix for #4708 - tagmail should allow . in tagname
changed the regex so that tagmail allows . in tagname.
Diffstat (limited to 'spec')
-rwxr-xr-xspec/unit/reports/tagmail_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/reports/tagmail_spec.rb b/spec/unit/reports/tagmail_spec.rb
index 59cb5b2b8..bdb16600e 100755
--- a/spec/unit/reports/tagmail_spec.rb
+++ b/spec/unit/reports/tagmail_spec.rb
@@ -31,6 +31,7 @@ describe tagmail do
{
"tag: abuse@domain.com" => [%w{abuse@domain.com}, %w{tag}, []],
+ "tag.localhost: abuse@domain.com" => [%w{abuse@domain.com}, %w{tag.localhost}, []],
"tag, other: abuse@domain.com" => [%w{abuse@domain.com}, %w{tag other}, []],
"tag-other: abuse@domain.com" => [%w{abuse@domain.com}, %w{tag-other}, []],
"tag, !other: abuse@domain.com" => [%w{abuse@domain.com}, %w{tag}, %w{other}],