Skip to content

Commit e354cd2

Browse files
committed
fix: fix bug in Message.to_hash
1 parent d7c0a4a commit e354cd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pact/consumer_contract/message.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def to_hash
4848
{
4949
description: description,
5050
provider_states: [{ name: provider_state }],
51-
contents: contents.to_hash,
51+
contents: contents.contents,
5252
metadata: metadata
5353
}
5454
end

0 commit comments

Comments
 (0)