lib/lemon/test/unit.rb in lemon-0.5 vs lib/lemon/test/unit.rb in lemon-0.6
- old
+ new
@@ -30,13 +30,13 @@
@procedure = procedure
end
# This method has the other end of the BIG FAT HACK. See Suite#const_missing.
def call
- suite.test_stack << self # hack
+ Lemon.test_stack << self # hack
procedure.call
ensure
- suite.test_stack.pop
+ Lemon.test_stack.pop
end
# The suite to which this unit test belongs.
def suite
testcase.suite