Sha256: f7fae78b9e99e37afe44602e1b3cf03cd35002241d582da0fbfa9a01ff763eae
Contents?: true
Size: 385 Bytes
Versions: 50
Compression:
Stored size: 385 Bytes
Contents
require "test_helper" class MetaMagicTest < Test::Unit::TestCase def test_class_methods assert_equal "this is a mixed-in class method", FakedProject.a_class_method end def test_instance_methods p = FakedProject.new assert_equal "this is a mixed-in instance method", p.an_instance_method assert_equal "A dynamically defined instance method", p.dynamic end end
Version data entries
50 entries across 50 versions & 14 rubygems