1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

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 = []