Sha256: 3701cf744e870f8dd3229fbb37052d0ff572f262a589d0157a9b70ee53f789dd

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

covers 'facets/hash/join'

tests Hash do

  instance do
    {:a=>1, :b=>2}
  end

  unit :join do |h|
    s = h.join
    s.assert.include?('b2')
    s.assert.include?('a1')
  end

  unit :join do |h|
    s = h.join(',')
    s.assert.include?('a,1')
    s.assert.include?('b,2')
  end

  unit :join do |h|
    s = h.join(',', ':')
    s.assert.include?('a,1')
    s.assert.include?('b,2')
    s.assert.include?(':')
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-2.9.0.pre.1 test/core/hash/test_join.rb