Skip to content

Commit

Permalink
fix(message): message body actual content should be 'contents'
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed May 8, 2018
1 parent cc38743 commit d0157b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact/provider/rspec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0157b0

Please sign in to comment.