Sha256: d02ab4c3178aaee892bf795c54e6816f729af90b4d5d07fc6bb4871e63fe9708

Contents?: true

Size: 228 Bytes

Versions: 1

Compression:

Stored size: 228 Bytes

Contents

require 'test_helper'

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

Version data entries

1 entries across 1 versions & 1 rubygems

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