lib/committee/rails/test/methods.rb in committee-rails-0.5.0 vs lib/committee/rails/test/methods.rb in committee-rails-0.5.1
- old
+ new
@@ -16,14 +16,14 @@
def default_schema
@default_schema ||= Committee::Drivers.load_from_file(Rails.root.join('docs', 'schema', 'schema.json').to_s)
end
def request_object
- request
+ integration_session.request
end
def response_data
- [response.status, response.headers, response.body]
+ [integration_session.response.status, integration_session.response.headers, integration_session.response.body]
end
end
end
end