diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-09 23:04:51 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-09 23:04:51 -0700 |
commit | 16a9787bf034a4de36a35b647c456ef142f814e1 (patch) | |
tree | 7f1da398c2db9e1223ffc9a0fdf94ef69eb0a090 /activesupport | |
parent | f545e19692c84eeaa8de38319766b5ceed1768c1 (diff) | |
download | rails-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.rb | 6 |
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 = [] |