Sha256: 579743c3958a66c4d5aa48ed82a47f4c2a523073db984516cb477784899cb388
Contents?: true
Size: 412 Bytes
Versions: 2
Compression:
Stored size: 412 Bytes
Contents
require File.join(File.dirname(__FILE__), 'CONFIG.rb') require 'test/unit' require 'glue' require 'glue/validation' require 'og/validation' class TC_MultiValidation < Test::Unit::TestCase # :nodoc: all class User include Glue::Validation property :name validate_value :name validate_unique :name end def test_empty assert TC_MultiValidation.const_defined?('User') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
og-0.41.0 | test/og/multi_validations_model.rb |
og-0.40.0 | test/og/multi_validations_model.rb |