diff options
Diffstat (limited to 'spec/unit/network/rest_authconfig_spec.rb')
-rwxr-xr-x | spec/unit/network/rest_authconfig_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/network/rest_authconfig_spec.rb b/spec/unit/network/rest_authconfig_spec.rb index fe17d5626..2d41c3e5b 100755 --- a/spec/unit/network/rest_authconfig_spec.rb +++ b/spec/unit/network/rest_authconfig_spec.rb @@ -32,7 +32,7 @@ describe Puppet::Network::RestAuthConfig do @authconfig.rights = @acl @request = stub 'request', :indirection_name => "path", :key => "to/resource", :ip => "127.0.0.1", - :node => "me", :method => :save, :environment => :env, :authenticated => true + :node => "me", :method => :save, :environment => :env, :authenticated => true end it "should use the puppet default rest authorization file" do @@ -115,7 +115,7 @@ describe Puppet::Network::RestAuthConfig do describe "when adding default ACLs" do - DEFAULT_ACL.each do |acl| + DEFAULT_ACL.each do |acl| it "should create a default right for #{acl[:acl]}" do @authconfig.stubs(:mk_acl) @authconfig.expects(:mk_acl).with(acl) |