Sha256: 34e8c9298de82a6adf45488b0c7cca445ed481d2bc1d02a95ff79c0b2dd91984
Contents?: true
Size: 226 Bytes
Versions: 1
Compression:
Stored size: 226 Bytes
Contents
require 'test_helper' class Alipay::UtilsTest < Test::Unit::TestCase def test_stringify_keys hash = { 'a' => 1, :b => 2 } assert_equal({ 'a' => 1, 'b' => 2 }.sort, Alipay::Utils.stringify_keys(hash).sort) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alipay-0.0.2 | test/alipay/utils_test.rb |