Sha256: aaa15d7736de990b3dd8ca04126c354fd82c6b8b3216596f0b28b83f53779c1a
Contents?: true
Size: 393 Bytes
Versions: 57
Compression:
Stored size: 393 Bytes
Contents
require 'test_helper' class CassandraObject::Identity::UuidKeyFactoryTest < CassandraObject::TestCase test 'parse' do assert_not_nil key_factory.parse('95b2cf70-c318-11e0-962b-0800200c9a66') assert_nil key_factory.parse('xyz') assert_nil key_factory.parse(nil) end private def key_factory @key_factory ||= CassandraObject::Identity::UUIDKeyFactory.new end end
Version data entries
57 entries across 57 versions & 1 rubygems