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