aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-06-09 23:04:51 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2008-06-09 23:04:51 -0700
commit16a9787bf034a4de36a35b647c456ef142f814e1 (patch)
tree7f1da398c2db9e1223ffc9a0fdf94ef69eb0a090 /activesupport
parentf545e19692c84eeaa8de38319766b5ceed1768c1 (diff)
downloadrails-16a9787bf034a4de36a35b647c456ef142f814e1.tar.gz
rails-16a9787bf034a4de36a35b647c456ef142f814e1.tar.bz2
rails-16a9787bf034a4de36a35b647c456ef142f814e1.zip
Add empty setup and teardown methods to rule out default setup behavior in base class
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/test_test.rb6
1 files changed, 6 insertions, 0 deletions
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 = []