summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2009-12-17 21:17:25 -0800
committerMarkus Roberts <Markus@reality.com>2009-12-17 21:17:25 -0800
commit03f37acaeb4c90d0256059fdc96f717077240811 (patch)
tree0ec307f9b44ea2bfa9b02a8467662651919b0f8e
parent61fd460cb0e9db08e21b2e9ce24b24bc2e96b0be (diff)
downloadpuppet-03f37acaeb4c90d0256059fdc96f717077240811.tar.gz
puppet-03f37acaeb4c90d0256059fdc96f717077240811.tar.xz
puppet-03f37acaeb4c90d0256059fdc96f717077240811.zip
Fix for #2950 (parens needed warning)
-rwxr-xr-xspec/unit/file_serving/metadata.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/file_serving/metadata.rb b/spec/unit/file_serving/metadata.rb
index c27efd6bb..38240f7e4 100755
--- a/spec/unit/file_serving/metadata.rb
+++ b/spec/unit/file_serving/metadata.rb
@@ -86,7 +86,7 @@ describe Puppet::FileServing::Metadata do
end
it "should pass the checksum in the hash as a nested hash" do
- @metadata.to_pson_data_hash['data']['checksum'].should be_is_a Hash
+ @metadata.to_pson_data_hash['data']['checksum'].should be_is_a(Hash)
end
it "should pass the checksum_type in the hash verbatum as the checksum's type" do