utils_test.rb 228 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 require 'test_helper' class WxPay::UtilsTest < MiniTest::Unit::TestCase def test_stringify_keys hash = { 'a' => 1, :b => 2 } assert_equal({ 'a' => 1, 'b' => 2 }.sort, WxPay::Utils.stringify_keys(hash).sort) end end