Signed-off-by: Rein Henrichs <[email protected]>
---
 spec/unit/network/authstore.rb |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/spec/unit/network/authstore.rb b/spec/unit/network/authstore.rb
index 55b2c7b..fda2575 100644
--- a/spec/unit/network/authstore.rb
+++ b/spec/unit/network/authstore.rb
@@ -124,6 +124,14 @@ describe Puppet::Network::AuthStore::Declaration do
         end
     end
 
+    describe "when the pattern is a hostname but not a FQDN" do
+        it do
+            lambda {
+                Puppet::Network::AuthStore::Declaration.new(:allow,"host-name")
+            }.should_not raise_error
+        end
+    end
+
     describe "when comparing patterns" do
         before :each do
             @ip        = 
Puppet::Network::AuthStore::Declaration.new(:allow,'127.0.0.1')
-- 
1.6.4.2


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to