summaryrefslogtreecommitdiffstats
path: root/spec/unit
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-02-23 19:09:29 -0500
committerLuke Kanies <luke@madstop.com>2008-02-23 19:09:29 -0500
commit0323986acd3a288e77c54b5fde20b280fa92b90a (patch)
tree9b12a0bc61c2918beeafbd9fbe685304236c9d62 /spec/unit
parentff9705914570158d1bad3073728a2e94ca4a0060 (diff)
parent939c952465815486da0d6c1a2207debb61a45618 (diff)
downloadpuppet-0323986acd3a288e77c54b5fde20b280fa92b90a.tar.gz
puppet-0323986acd3a288e77c54b5fde20b280fa92b90a.tar.xz
puppet-0323986acd3a288e77c54b5fde20b280fa92b90a.zip
Merge commit 'turnbull/0.24.x' into 0.24.x
Diffstat (limited to 'spec/unit')
-rwxr-xr-xspec/unit/util/tagging.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/util/tagging.rb b/spec/unit/util/tagging.rb
index 91cbb213d..d61ee8ccb 100755
--- a/spec/unit/util/tagging.rb
+++ b/spec/unit/util/tagging.rb
@@ -61,6 +61,10 @@ describe Puppet::Util::Tagging, "when adding tags" do
lambda { @tagger.tag("good_tag") }.should_not raise_error(Puppet::ParseError)
end
+ it "should allow tags containing '.' characters" do
+ lambda { @tagger.tag("good.tag") }.should_not raise_error(Puppet::ParseError)
+ end
+
it "should provide a method for testing tag validity" do
@tagger.metaclass.publicize_methods(:valid_tag?) { @tagger.should be_respond_to(:valid_tag?) }
end