summaryrefslogtreecommitdiff
path: root/spec/unit/knife
diff options
context:
space:
mode:
authorVasu1105 <vasundhara.jagdale@msystechnologies.com>2019-12-16 15:19:36 +0530
committerVasu1105 <vasundhara.jagdale@msystechnologies.com>2019-12-16 15:19:36 +0530
commitf2376d286a2bb457c4b3012764984c5157ff41f1 (patch)
tree1fcabc3baff3d9d186c08a57e2d0252959f7f5ae /spec/unit/knife
parent8652c2bec65058032e9b90ac4b97cf8df3a1e1e0 (diff)
downloadchef-f2376d286a2bb457c4b3012764984c5157ff41f1.tar.gz
Fixed specs and chefstyle error
Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
Diffstat (limited to 'spec/unit/knife')
-rw-r--r--spec/unit/knife/cookbook_upload_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/unit/knife/cookbook_upload_spec.rb b/spec/unit/knife/cookbook_upload_spec.rb
index ffea69a860..0dde664513 100644
--- a/spec/unit/knife/cookbook_upload_spec.rb
+++ b/spec/unit/knife/cookbook_upload_spec.rb
@@ -111,9 +111,7 @@ describe Chef::Knife::CookbookUpload do
let(:name_args) { ["test_cookbook1"] }
let(:cookbooks_by_name) do
- {
- "test_cookbook1" => Chef::CookbookVersion.new("test_cookbook1", "/tmp/blah")
- }
+ { "test_cookbook1" => Chef::CookbookVersion.new("test_cookbook1", "/tmp/blah") }
end
it "should read only one cookbook" do