Sha256: de88e9a0da5f5bbdb576f11af993957f7d60ef636db9984e163d140d0d341f3f
Contents?: true
Size: 376 Bytes
Versions: 48
Compression:
Stored size: 376 Bytes
Contents
require 'test_helper' class CassandraObject::AttributeMethods::DefinitionTest < CassandraObject::TestCase class TestType < CassandraObject::Types::BaseType end test 'typecast' do definition = CassandraObject::AttributeMethods::Definition.new(:foo, TestType, {a: :b}) assert_equal 'foo', definition.name assert_kind_of TestType, definition.coder end end
Version data entries
48 entries across 48 versions & 3 rubygems