summaryrefslogtreecommitdiff
path: root/spec/unit/cookbook_loader_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-07-02 10:29:13 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-07-02 10:29:13 -0700
commit878560a22f37aec0c2dfe681b3743e027155be88 (patch)
tree676062be70a45e73a8722c0e6dadd220162fb101 /spec/unit/cookbook_loader_spec.rb
parent202887162a22e0c7062064fff0d9462f8c02bf0e (diff)
downloadchef-878560a22f37aec0c2dfe681b3743e027155be88.tar.gz
fix Layout/DotPosition
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/cookbook_loader_spec.rb')
-rw-r--r--spec/unit/cookbook_loader_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/cookbook_loader_spec.rb b/spec/unit/cookbook_loader_spec.rb
index 8bc215360a..6553dad433 100644
--- a/spec/unit/cookbook_loader_spec.rb
+++ b/spec/unit/cookbook_loader_spec.rb
@@ -44,10 +44,10 @@ describe Chef::CookbookLoader do
cookbook_paths.delete_if { |path| File.basename(path) == "chefignore" }
cookbook_paths.each do |cookbook_path|
- expect(Chef::Cookbook::CookbookVersionLoader).to receive(:new).
- with(cookbook_path, anything).
- once.
- and_call_original
+ expect(Chef::Cookbook::CookbookVersionLoader).to receive(:new)
+ .with(cookbook_path, anything)
+ .once
+ .and_call_original
end
expect(Chef::Log).to receive(:deprecation).with(/The cookbook\(s\): openldap exist in multiple places in your cookbook_path./)
cookbook_loader.load_cookbooks