Sha256: d91fbaef626639b1abbeaf3367f3a1fc6d81a12e6326f5614ea69e62ce514f39

Contents?: true

Size: 334 Bytes

Versions: 4

Compression:

Stored size: 334 Bytes

Contents

covers 'facets/symbol/generate'

testcase Symbol do

  metaunit :generate => "without key" do
    Symbol.generate.assert == :'-1'
    Symbol.generate.assert == :'-2'
  end

  metaunit :generate => "with prefix key" do
    Symbol.generate('orange').assert == :'orange-1'
    Symbol.generate('orange').assert == :'orange-2'
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/symbol/test_generate.rb
facets-2.9.0 test/core/symbol/test_generate.rb
facets-2.9.0.pre.2 test/core/symbol/test_generate.rb
facets-2.9.0.pre.1 test/core/symbol/test_generate.rb