Commit 9c9741ef authored by Danielle Tomlinson's avatar Danielle Tomlinson

[PodspecSource] Enable webmock in network test

parent b9e665e1
......@@ -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