Sha256: 07a4a09ca0aa29098de954987128ff906458b66cdd7a702f3d726697e88baaa5

Contents?: true

Size: 230 Bytes

Versions: 4

Compression:

Stored size: 230 Bytes

Contents

covers 'facets/hash/insert'

testcase Hash do

  unit :insert do
    h = {:a=>1, :b=>2}

    h.assert.insert(:c,3)
    h.assert == {:a=>1, :b=>2, :c=>3}

    h.refute.insert(:a,0)
    h.assert == {:a=>1, :b=>2, :c=>3}
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/hash/test_insert.rb
facets-2.9.0 test/core/hash/test_insert.rb
facets-2.9.0.pre.2 test/core/hash/test_insert.rb
facets-2.9.0.pre.1 test/core/hash/test_insert.rb