Sha256: 060e28fd08ab01d07a3f74ddf2953fc6eea095013ca75c13231a573a15c4be3a

Contents?: true

Size: 224 Bytes

Versions: 1

Compression:

Stored size: 224 Bytes

Contents

require 'test_helper'

class Alipay::UtilsTest < Test::Unit::TestCase
  def test_symbolize_keys
    hash = { 'a' => 1, :b => 2 }
    assert_equal({ :a => 1, :b => 2 }.sort, Alipay::Utils.symbolize_keys(hash).sort)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alipay-0.0.1 test/alipay/utils_test.rb