From 16a9787bf034a4de36a35b647c456ef142f814e1 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Mon, 9 Jun 2008 23:04:51 -0700 Subject: Add empty setup and teardown methods to rule out default setup behavior in base class --- activesupport/test/test_test.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'activesupport/test') diff --git a/activesupport/test/test_test.rb b/activesupport/test/test_test.rb index 1e75e18602..26a45af255 100644 --- a/activesupport/test/test_test.rb +++ b/activesupport/test/test_test.rb @@ -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 = [] -- cgit v1.2.3