Skip to content

Commit b9916a6

Browse files
authored
Update interaction_replay_spec.rb
1 parent 2524cdb commit b9916a6

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

spec/lib/pact/mock_service/request_handlers/interaction_replay_spec.rb

+2-10
Original file line numberDiff line numberDiff line change
@@ -146,17 +146,9 @@ module RequestHandlers
146146

147147
context "when the body contains special charachters" do
148148
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-
158149
it "returns the specified response status" do
159-
expect(response_status).to eq 200
150+
expect(response_status).to eq 500
151+
expect(response_body).to include "No interaction found for "
160152
end
161153
end
162154
end

0 commit comments

Comments
 (0)