test/alipay/utils_test.rb in alipay-0.0.1 vs test/alipay/utils_test.rb in alipay-0.0.2

- old
+ new

@@ -1,8 +1,8 @@ require 'test_helper' class Alipay::UtilsTest < Test::Unit::TestCase - def test_symbolize_keys + def test_stringify_keys hash = { 'a' => 1, :b => 2 } - assert_equal({ :a => 1, :b => 2 }.sort, Alipay::Utils.symbolize_keys(hash).sort) + assert_equal({ 'a' => 1, 'b' => 2 }.sort, Alipay::Utils.stringify_keys(hash).sort) end end