spec/kitchen/provisioner/chef/policyfile_spec.rb in test-kitchen-1.11.1 vs spec/kitchen/provisioner/chef/policyfile_spec.rb in test-kitchen-1.12.0
- old
+ new
@@ -25,10 +25,10 @@
let(:null_logger) do
stub(:fatal => nil, :error => nil, :warn => nil, :info => nil,
:debug => nil, :banner => nil)
end
let(:described_object) do
- Kitchen::Provisioner::Chef::Policyfile.new(policyfile, path, null_logger)
+ Kitchen::Provisioner::Chef::Policyfile.new(policyfile, path, :logger => null_logger)
end
let(:os) { "" }
before do
@original_rbconfig = RbConfig::CONFIG
verbose = $VERBOSE