Sha256: a8b302f3214f112355c3764cdc25256d39b7afcb2e3b74b38363fd88dbe205cb
Contents?: true
Size: 507 Bytes
Versions: 5
Compression:
Stored size: 507 Bytes
Contents
require 'test_helper' class IdentifyTest < NamedSeeds::TestCase def test_works_on_strings assert_equal id('foo'), id('foo') assert_not_equal id('FOO'), id('foo') end def test_works_on_symbols assert_equal id('foo'), id(:foo) end def test_identifies_consistently assert_equal 207281424, id(:ruby) assert_equal 1066363776, id(:sapphire_2) end def test_can_generate_uuid_identities assert_match '4f156606-8cb3-509e-a177-956ca0a22015', id(:ken, :uuid) end end
Version data entries
5 entries across 5 versions & 1 rubygems