On Oct 14, 2009, at 4:06 PM, Rein Henrichs wrote:
>
>
> 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
Shouldn't there be a message here?
> + 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
>
>
> >
--
Think twice before you speak, and then you may be able to say
something more insulting than if you spoke right out at
once. -- Evan Esar
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---