oauth/oauth-ruby — Issue #45: One test fails with ruby 1.9.3
Author: bkabrda
Created: 2011-12-14 10:53:21+00:00
State: open

Hi,
I'm trying to make the test suite work with Ruby 1.9.3, but one test fails:

1) Failure:
test_that_using_post_params_works(NetHTTPClientTest) [/home/bkabrda/rpmbuild/BUILD/rubygem-oauth-0.4.4/usr/share/gems/gems/oauth-0.4.4/test/test_net_http_client.rb:126]:
<"key=value&oauth_consumer_key=consumer_key_86cad9&oauth_nonce=225579211881198842005988698334675835446&oauth_signature=26g7wHTtNO6ZWJaLltcueppHYiI%3d&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1199645624&oauth_token=token_411a7f&oauth_version=1.0"> expected but was
<"key=value&oauth_consumer_key=consumer_key_86cad9&oauth_nonce=225579211881198842005988698334675835446&oauth_signature=26g7wHTtNO6ZWJaLltcueppHYiI%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1199645624&oauth_token=token_411a7f&oauth_version=1.0">.

The difference is in %3d versus %3D. Could you possibly look into it?
My ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]

Thanks.