diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-10 14:01:05 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-07 01:16:06 -0500 |
commit | 7b28a55a2bc9bedd5a8c8dec0a8a02166927ef16 (patch) | |
tree | c1378f3c30fbff6ae623f148aa109e2ee956fc9e /activesupport/lib/active_support/test_case.rb | |
parent | 983dc8078708fff5d99fc31eb5eac8b532e950b3 (diff) | |
download | rails-7b28a55a2bc9bedd5a8c8dec0a8a02166927ef16.tar.gz rails-7b28a55a2bc9bedd5a8c8dec0a8a02166927ef16.tar.bz2 rails-7b28a55a2bc9bedd5a8c8dec0a8a02166927ef16.zip |
Remove direct TestCase mixins. Add miniunit compatibility.
Diffstat (limited to 'activesupport/lib/active_support/test_case.rb')
-rw-r--r-- | activesupport/lib/active_support/test_case.rb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index 197e73b3e8..cdd884f918 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -1,10 +1,14 @@ require 'test/unit/testcase' +require 'active_support/testing/setup_and_teardown' +require 'active_support/testing/assertions' require 'active_support/testing/default' -require 'active_support/testing/core_ext/test' - module ActiveSupport - class TestCase < Test::Unit::TestCase + class TestCase < ::Test::Unit::TestCase + include ActiveSupport::Testing::SetupAndTeardown + include ActiveSupport::Testing::Assertions + include ActiveSupport::Testing::Default + # test "verify something" do # ... # end |