Sha256: 40dffc8dfe16d9c0738439b316c6f16b730a45812141793397af50633ba7b38c
Contents?: true
Size: 452 Bytes
Versions: 5
Compression:
Stored size: 452 Bytes
Contents
require 'test_helper' class CassandraObject::IdentityTest < CassandraObject::TestCase test 'primary_key' do assert_equal 'id', Issue.primary_key end test 'get key' do issue = Issue.new assert_not_nil issue.key end test 'parse_key' do assert_kind_of( CassandraObject::Identity::UUIDKeyFactory::UUID, Issue.parse_key('bb4cbbbc-b7c7-11e0-9ca2-732604ff41fe') ) assert_nil Issue.parse_key('fail') end end
Version data entries
5 entries across 5 versions & 1 rubygems