Skip to content

Commit

Permalink
Removed incorrectly committed spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
bblimke committed Nov 5, 2014
1 parent 5554c0d commit 0d71ab9
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions spec/acceptance/net_http/net_http_spec.rb
Expand Up @@ -11,23 +11,6 @@

let(:port){ WebMockServer.instance.port }

describe 'webmock failure' do
it 'should call the block' do
stub_request(:any, 'www.example.com')

uri = URI.parse('http://www.example.com/')
req = Net::HTTP::Post.new(uri.path)
Net::HTTP.start(uri.host, uri.port) do |http|
http.request(req, 'abc')
end

expect(WebMock).to have_requested(:post, 'http://www.example.com')
.with do |_|
raise 'miserably'
end
end
end

describe "marshalling" do
class TestMarshalingInWebMockNetHTTP
attr_accessor :r
Expand Down

0 comments on commit 0d71ab9

Please sign in to comment.