Sha256: e1c6197eb7b7fa61da6d597da47d335496d658fa3b05ff84f3d07d16ee14d8af
Contents?: true
Size: 424 Bytes
Versions: 7
Compression:
Stored size: 424 Bytes
Contents
require File.join(File.dirname(__FILE__), 'CONFIG.rb') require 'rubygems' require 'facets' require 'test/unit' require 'og' class TestCaseOgTypes < Test::Unit::TestCase # :nodoc: all include Og class User property :name, Og::VarChar(16), :unique => true def initialize(name = nil) @name = name end end def test_all assert_equal [String, {:sql=>"VARCHAR(16)"}], Og::VarChar(16) end end
Version data entries
7 entries across 7 versions & 1 rubygems