Add empty setup and teardown methods to rule out default setup behavior in base class

This commit is contained in:
Jeremy Kemper 2008-06-09 23:04:51 -07:00
parent f545e19692
commit 16a9787bf0
1 changed files with 6 additions and 0 deletions

View File

@ -84,6 +84,12 @@ class SetupAndTeardownTest < Test::Unit::TestCase
assert_equal [:foo, :sentinel, :foo], self.class.teardown_callback_chain.map(&:method)
end
def setup
end
def teardown
end
protected
def reset_callback_record
@called_back = []