diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2009-12-10 17:27:13 -0800 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-12-17 17:06:56 +1100 |
commit | 7b2e2badec926f8c43e2c4087b64b13d2e109f48 (patch) | |
tree | 84d0bd91e6eabc291686897fa54955579cff43bf /spec/unit/network | |
parent | 1c69af2abea55579373e6111cf840197c7cb3494 (diff) | |
download | puppet-7b2e2badec926f8c43e2c4087b64b13d2e109f48.tar.gz puppet-7b2e2badec926f8c43e2c4087b64b13d2e109f48.tar.xz puppet-7b2e2badec926f8c43e2c4087b64b13d2e109f48.zip |
Fixing 2851 spec/unit/network/rest_authconfig.rb test descriptions change
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 <jes5199@gmail.com>
Diffstat (limited to 'spec/unit/network')
-rwxr-xr-x | 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 0da3d9c63..20a51ba87 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) |