Sha256: bf7ac88a62a5c96f97d5f302b63708d4cea51059bd3b72d6bae1bb5513a0e261
Contents?: true
Size: 582 Bytes
Versions: 8
Compression:
Stored size: 582 Bytes
Contents
$:.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib') require 'test/unit' require 'glue/logger' require 'glue/property' =begin FIXME: temporarily dissabled. Glue::Property.type_checking = true module Test # :nodoc: all class Person prop_accessor :age, Fixnum def initialize(age = nil) @age = age end end class TC_PropertiesTypeChecking < Test::Unit::TestCase def test_all per = Person.new FIXME: does not work when run in the full test suite. # assert_raises(RuntimeError) { # per.age = 'Hello' # } end end end =end
Version data entries
8 entries across 8 versions & 1 rubygems