spec/unit/pacto/stubs/webmock_adapter_spec.rb in pacto-0.4.0.rc1 vs spec/unit/pacto/stubs/webmock_adapter_spec.rb in pacto-0.4.0.rc2
- old
+ new
@@ -140,13 +140,11 @@
headers: {},
params: {}
)
end
- it 'uses WebMock to stub the request' do
- expect(request_pattern).to receive(:with).
- with({}).
- and_return(stubbed_request)
+ it 'does not send parameter details to WebMock' do
+ expect(request_pattern).to_not receive(:with)
adapter.stub_request! contract
end
end
end
end