Sha256: 4588b1cff88c99fe01b65dcb1ef253f3d9e9f7e743d5fcc21141f61be286234d

Contents?: true

Size: 423 Bytes

Versions: 2

Compression:

Stored size: 423 Bytes

Contents

$:.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')

require 'test/unit'

require 'glue'
require 'glue/property'
require 'glue/validation'

class TC_MultiValidation < Test::Unit::TestCase # :nodoc: all

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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
glue-0.26.0 test/glue/tc_multi_validations.rb
og-0.27.0 test/og/tc_multi_validations.rb