mirror of
https://github.com/github/rails.git
synced 2026-01-28 15:58:03 -05:00
Add empty setup and teardown methods to rule out default setup behavior in base class
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user