Sha256: 603d71b80282f731f62d39ab4ab092732a56875915929dd531afab4a0a21eee7

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 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

  def test_all
    file = File.join(File.dirname(__FILE__), 'multi_validations_model.rb')
    load file
    assert_equal 2, TC_MultiValidation::User.validations.size
    load file
    assert_equal 2, TC_MultiValidation::User.validations.size
  end
 
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
og-0.41.0 test/og/tc_multi_validations.rb
og-0.40.0 test/og/tc_multi_validations.rb