Modified: MacRuby/trunk/test/hotcocoa/test_mappings.rb (794 => 795)
--- MacRuby/trunk/test/hotcocoa/test_mappings.rb 2009-01-20 14:41:34 UTC (rev 794)
+++ MacRuby/trunk/test/hotcocoa/test_mappings.rb 2009-01-20 14:44:35 UTC (rev 795)
@@ -72,11 +72,5 @@
def test_reload
flunk 'Pending.'
end
-
- private
-
- # Helper methods for test_framework_loaded
- def self.foo_loaded; @foo_loaded; end
- def self.foo_loaded=(val); @foo_loaded = val; end
-
+
end
\ No newline at end of file
Added: MacRuby/trunk/test/test_helper.rb (0 => 795)
--- MacRuby/trunk/test/test_helper.rb (rev 0)
+++ MacRuby/trunk/test/test_helper.rb 2009-01-20 14:44:35 UTC (rev 795)
@@ -0,0 +1,11 @@
+require 'test/unit'
+
+class Test::Unit::TestCase
+
+ class << self
+ def it(name, &block)
+ define_method("test_#{name}", &block)
+ end
+ end
+
+end
\ No newline at end of file