Sha256: a3e1fa6a4adc20e5e5ed8cff15ccf4316c4e7a562aebf085c0bb868a4683c457

Contents?: true

Size: 174 Bytes

Versions: 2

Compression:

Stored size: 174 Bytes

Contents

covers 'facets/array/to_h'

test_case Array do

  method :to_h do

    test do
      arr = [[:a, 1], [:b, 2]]
      arr.to_h.assert == {:a => 1, :b => 2}
    end

  end

end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 test/core/array/test_to_h.rb
facets-3.1.0 test/core/array/test_to_h.rb