summaryrefslogtreecommitdiff
path: root/spec/unit/knife/cookbook_download_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-09 08:17:32 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-09 08:17:32 -0800
commit37e02399a6e1dd281808a556f1420f8cf6e846fd (patch)
tree86834a5371fccfc474004233e45ab00dd7355574 /spec/unit/knife/cookbook_download_spec.rb
parentf073747786abbe6ada55ed24b696a03e39c3c45d (diff)
downloadchef-37e02399a6e1dd281808a556f1420f8cf6e846fd.tar.gz
autofixing auto-inserted delimiterslcg/chefstyle-batch
Diffstat (limited to 'spec/unit/knife/cookbook_download_spec.rb')
-rw-r--r--spec/unit/knife/cookbook_download_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife/cookbook_download_spec.rb b/spec/unit/knife/cookbook_download_spec.rb
index 44a47d8c37..991abea776 100644
--- a/spec/unit/knife/cookbook_download_spec.rb
+++ b/spec/unit/knife/cookbook_download_spec.rb
@@ -119,7 +119,7 @@ describe Chef::Knife::CookbookDownload do
it "should download the cookbook when the cookbook download directory doesn't exist" do
expect(File).to receive(:exists?).with("/var/tmp/chef/foobar-1.0.0").and_return(false)
@knife.run
- %w(attributes recipes templates).each do |segment|
+ %w{attributes recipes templates}.each do |segment|
expect(@stderr.string).to match /downloading #{segment}/im
end
expect(@stderr.string).to match /downloading foobar cookbook version 1\.0\.0/im