Commit 82e0afaa authored by Boris Bügling's avatar Boris Bügling

Stub out the actual downloading.

parent bd957ba8
...@@ -65,6 +65,7 @@ module Pod ...@@ -65,6 +65,7 @@ module Pod
config.sandbox.store_head_pod('BananaLib') config.sandbox.store_head_pod('BananaLib')
@spec.source = { :http => 'http://dl.google.com/googleadmobadssdk/googleadmobsearchadssdkios.zip' } @spec.source = { :http => 'http://dl.google.com/googleadmobadssdk/googleadmobsearchadssdkios.zip' }
@spec.source_files = 'GoogleAdMobSearchAdsSDK/*.h' @spec.source_files = 'GoogleAdMobSearchAdsSDK/*.h'
Pod::Downloader::Http.any_instance.stubs(:download_head)
should.raise Informative do should.raise Informative do
@installer.install! @installer.install!
end.message.should.match /does not support the :head option, as it uses a Http source./ end.message.should.match /does not support the :head option, as it uses a Http source./
......
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