We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2524cdb commit b9916a6Copy full SHA for b9916a6
spec/lib/pact/mock_service/request_handlers/interaction_replay_spec.rb
@@ -146,17 +146,9 @@ module RequestHandlers
146
147
context "when the body contains special charachters" do
148
let(:actual_body) { '\xEB' }
149
- let(:env) do
150
- {
151
- 'REQUEST_METHOD' => 'GET',
152
- 'PATH_INFO' => '/path',
153
- 'QUERY_STRING' => '',
154
- 'rack.input' => double(read: actual_body)
155
- }
156
- end
157
-
158
it "returns the specified response status" do
159
- expect(response_status).to eq 200
+ expect(response_status).to eq 500
+ expect(response_body).to include "No interaction found for "
160
end
161
162
0 commit comments