spec/integration/app_spec.rb in pact_broker-2.27.6 vs spec/integration/app_spec.rb in pact_broker-2.29.0
- old
+ new
@@ -29,10 +29,10 @@
end
context "when Accept includes text/html" do
let(:env) { {'HTTP_ACCEPT' => 'text/html'} }
- subject { get path, '', env; last_response.tap { |it| File.open("bethtest.html", "w") { |file| file << it.body } } }
+ subject { get path, '', env; last_response }
describe "a request for root" do
let(:path) { '/' }