Commit a7c892ea authored by Dimitris Koutsogiorgas's avatar Dimitris Koutsogiorgas Committed by GitHub

Merge pull request #6882 from CocoaPods/dani_fix_network

[PodspecSource] Enable webmock in network test
parents bf3997af 9c9741ef
......@@ -57,6 +57,7 @@ module Pod
describe 'http source' do
it 'raises an Informative error if the specified url fails to load' do
@subject.stubs(:params).returns(:podspec => 'https://github.com/username/TSMessages/TSMessages.podspec')
WebMock.enable!
WebMock::API.stub_request(:get, 'https://github.com/username/TSMessages/TSMessages.podspec').
to_return(:status => 404)
......
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