Permalink
Browse files

Add empty setup and teardown methods to rule out default setup behavi…

…or in base class
  • Loading branch information...
jeremy committed Jun 10, 2008
1 parent f545e19 commit 16a9787bf034a4de36a35b647c456ef142f814e1
Showing with 6 additions and 0 deletions.
  1. +6 −0 activesupport/test/test_test.rb
@@ -84,6 +84,12 @@ def test_inherited_setup_callbacks
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 = []

0 comments on commit 16a9787

Please sign in to comment.