diff --git a/lib/pact/provider/rspec.rb b/lib/pact/provider/rspec.rb index 92788a5c..e6ed3c2d 100644 --- a/lib/pact/provider/rspec.rb +++ b/lib/pact/provider/rspec.rb @@ -115,7 +115,7 @@ def describe_message expected_response, interaction_context let(:diff_options) { { with: differ, diff_formatter: diff_formatter } } let(:diff_content_type) { 'application/json' } let(:response_body) { parse_body_from_response(response) } - let(:actual_content) { response_body['content'] } + let(:actual_content) { response_body['contents'] } it "has matching content" do | example | if response.status != 200