Sha256: 6c6b90301da7442b290654046cfea2d3920ff31954910d79ac11ea579926d9ad
Contents?: true
Size: 246 Bytes
Versions: 41
Compression:
Stored size: 246 Bytes
Contents
require 'test/helper' class HashTest < ActiveSupport::TestCase def test_should_verify_compact hash = { 'a' => '', 'b'=> nil, 'c' => 'hello' } hash_compacted = { 'c' => 'hello' } assert_equal hash_compacted, hash.compact end end
Version data entries
41 entries across 41 versions & 2 rubygems