mirror of https://github.com/rails/rails
Add empty setup and teardown methods to rule out default setup behavior in base class
This commit is contained in:
parent
f545e19692
commit
16a9787bf0
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue