Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigoargumedo authored Sep 10, 2024
1 parent 2f2b934 commit bcf3896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/request_pattern_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ def match(request_signature)
it "should not match when body is not xml" do
expect(WebMock::RequestPattern.new(:post, 'www.example.com', body: body_hash)).
not_to match(WebMock::RequestSignature.new(:post, "www.example.com",
headers: {content_type: content_type}, body: "foo bar"))
headers: {content_type: content_type}, body: ""))
end

it "matches when the content type include a charset" do
Expand Down

0 comments on commit bcf3896

Please sign in to comment.