Skip to content

Commit d0157b0

Browse files
committed
fix(message): message body actual content should be 'contents'
1 parent cc38743 commit d0157b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pact/provider/rspec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def describe_message expected_response, interaction_context
115115
let(:diff_options) { { with: differ, diff_formatter: diff_formatter } }
116116
let(:diff_content_type) { 'application/json' }
117117
let(:response_body) { parse_body_from_response(response) }
118-
let(:actual_content) { response_body['content'] }
118+
let(:actual_content) { response_body['contents'] }
119119

120120
it "has matching content" do | example |
121121
if response.status != 200

0 commit comments

Comments
 (0)