Sha256: 4dbc8aabaa80ebbcb3674056b90051a25c546e69ad2b4e6a6df0c9b9875b96fb
Contents?: true
Size: 388 Bytes
Versions: 3
Compression:
Stored size: 388 Bytes
Contents
require File.join(File.dirname(__FILE__), 'CONFIG.rb') 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
og-0.24.0 | test/og/tc_types.rb |
og-0.25.0 | test/og/tc_types.rb |
og-0.26.0 | test/og/tc_types.rb |