diff --git a/tests/aws/signed_params_tests.rb b/tests/aws/signed_params_tests.rb index 07ad817c2..1b4ae21ad 100644 --- a/tests/aws/signed_params_tests.rb +++ b/tests/aws/signed_params_tests.rb @@ -8,10 +8,10 @@ Shindo.tests('AWS | signed_params', ['aws']) do end tests('Keys should be canonicalised using Unicode NFC') do - returns( Fog::AWS.escape( "\u{00e9}" ) ) { "%C3%A9" } + returns( Fog::AWS.escape( ["C3A9".to_i(16)].pack("U*") ) ) { "%C3%A9" } tests('Characters with combining mark should be combined and then escaped') do - returns( Fog::AWS.escape( "\u{0065}\u{0301}" ) ) { "%C3%A9" } + returns( Fog::AWS.escape( ["0065".to_i(16), "CC81".to_i(16)].pack("U*") ) ) { "%C3%A9" } end end end