diff options
Diffstat (limited to 'spec/unit/application/solo_spec.rb')
-rw-r--r-- | spec/unit/application/solo_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/application/solo_spec.rb b/spec/unit/application/solo_spec.rb index f9302a0bb2..16f4a7785b 100644 --- a/spec/unit/application/solo_spec.rb +++ b/spec/unit/application/solo_spec.rb @@ -108,7 +108,7 @@ describe Chef::Application::Solo do tarfile = StringIO.new("remote_tarball_content") target_file = StringIO.new - expect(app).to receive(:open).with("http://junglist.gen.nz/recipes.tgz").and_yield(tarfile) + expect(URI).to receive(:open).with("http://junglist.gen.nz/recipes.tgz").and_yield(tarfile) expect(File).to receive(:open).with("#{Dir.tmpdir}/chef-solo/recipes.tgz", "wb").and_yield(target_file) archive = double(Mixlib::Archive) |