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