+1 again.  You're on a roll dude.

On Thu, Dec 10, 2009 at 6:34 PM, Jesse Wolfe <[email protected]> wrote:
> Some test names change arbitrarily since they were interpolating
> hashes instead of strings.
>
> This patch replaces, for example:
> - should insert methodfindacl/certificate_revocation_list/caauthenticatedtrue 
> if not present
>
> with:
> - should insert /certificate_revocation_list/ca if not present
>
> Signed-off-by: Jesse Wolfe <[email protected]>
> ---
>  spec/unit/network/rest_authconfig.rb |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/spec/unit/network/rest_authconfig.rb 
> b/spec/unit/network/rest_authconfig.rb
> index 0da3d9c..20a51ba 100755
> --- a/spec/unit/network/rest_authconfig.rb
> +++ b/spec/unit/network/rest_authconfig.rb
> @@ -84,7 +84,7 @@ describe Puppet::Network::RestAuthConfig do
>     end
>
>     DEFAULT_ACL.each do |acl|
> -        it "should insert #{acl} if not present" do
> +        it "should insert #{acl[:acl]} if not present" do
>             @authconfig.rights.stubs(:[]).returns(true)
>             @authconfig.rights.stubs(:[]).with(acl[:acl]).returns(nil)
>
> @@ -93,7 +93,7 @@ describe Puppet::Network::RestAuthConfig do
>             @authconfig.insert_default_acl
>         end
>
> -        it "should not insert #{acl} if present" do
> +        it "should not insert #{acl[:acl]} if present" do
>             @authconfig.rights.stubs(:[]).returns(true)
>             @authconfig.rights.stubs(:[]).with(acl).returns(true)
>
> --
> 1.6.5
>
> --
>
> 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.
>
>
>

--

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