Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ensured alphabetical order of body presented as a hash in error message

  • Loading branch information...
commit 67b9b60a538b74378d1d965e9c31fd0963705ceb 1 parent f8147d9
@bblimke authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/webmock/request_pattern.rb
View
2  lib/webmock/request_pattern.rb
@@ -209,7 +209,7 @@ def empty_string?(string)
end
def normalize_hash(hash)
- WebMock::Util::HashKeysStringifier.stringify_keys!(hash)
+ Hash[WebMock::Util::HashKeysStringifier.stringify_keys!(hash).sort]
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.