Commit fb1be2b4 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[InstallerSpec] Remove dependency on the network

parent 811f7eff
...@@ -386,6 +386,7 @@ module Pod ...@@ -386,6 +386,7 @@ module Pod
end end
@installer.stubs(:podfile).returns(podfile) @installer.stubs(:podfile).returns(podfile)
@installer.stubs(:lockfile).returns(nil) @installer.stubs(:lockfile).returns(nil)
Downloader::Git.any_instance.expects(:download).once
Downloader::Git.any_instance.expects(:download_head).once Downloader::Git.any_instance.expects(:download_head).once
Downloader::Git.any_instance.stubs(:checkout_options).returns({}) Downloader::Git.any_instance.stubs(:checkout_options).returns({})
@installer.prepare @installer.prepare
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment