diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-23 13:11:07 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-23 13:11:07 -0800 |
commit | 9d4ae40bb40b2354c4061a23ae4db9a28e3174e6 (patch) | |
tree | 4e8de82f37e12fe8e85b7b76b9e5c2415ac8fcbd /activesupport/lib/active_support/test_case.rb | |
parent | 2db8571edf105c7c68e06eea385b032951042ef8 (diff) | |
download | rails-9d4ae40bb40b2354c4061a23ae4db9a28e3174e6.tar.gz rails-9d4ae40bb40b2354c4061a23ae4db9a28e3174e6.tar.bz2 rails-9d4ae40bb40b2354c4061a23ae4db9a28e3174e6.zip |
Move deprecation assertions so TestCase (and Mocha) needn't load on startup
Diffstat (limited to 'activesupport/lib/active_support/test_case.rb')
-rw-r--r-- | activesupport/lib/active_support/test_case.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index a4a45079fa..90c6aff215 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -1,6 +1,7 @@ require 'test/unit/testcase' require 'active_support/testing/setup_and_teardown' require 'active_support/testing/assertions' +require 'active_support/testing/deprecation' require 'active_support/testing/declarative' begin @@ -35,6 +36,7 @@ module ActiveSupport include ActiveSupport::Testing::SetupAndTeardown include ActiveSupport::Testing::Assertions + include ActiveSupport::Testing::Deprecation extend ActiveSupport::Testing::Declarative end end |