Sha256: b0ccd2f5188a192760ddfad095a526df20aa5dc9b5fde9b0241a72f819beeb86
Contents?: true
Size: 315 Bytes
Versions: 15
Compression:
Stored size: 315 Bytes
Contents
require 'test_helper' class Alipay::UtilsTest < Minitest::Test 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
15 entries across 15 versions & 2 rubygems