spec/unit/action/deploy/module_spec.rb in r10k-3.5.2 vs spec/unit/action/deploy/module_spec.rb in r10k-3.6.0

- old
+ new

@@ -68,11 +68,11 @@ ) end before do allow(subject).to receive(:visit_environment).and_wrap_original do |original, environment, &block| - expect(environment.puppetfile).to receive(:modules).and_return( - [R10K::Module::Local.new(environment.name, '/fakedir', [], environment)] + expect(environment.puppetfile).to receive(:modules_by_vcs_cachedir).and_return( + {none: [R10K::Module::Local.new(environment.name, '/fakedir', [], environment)]} ) original.call(environment, &block) end end