Sha256: 11c8e527b890a77aa00f2cb93a284b063e706e91219b17a4fb1c2086f695914a
Contents?: true
Size: 321 Bytes
Versions: 10
Compression:
Stored size: 321 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 def test_generate_batch_no assert_equal(24, Alipay::Utils.generate_batch_no.size) end end
Version data entries
10 entries across 10 versions & 1 rubygems