aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/test_case.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-01-24 12:01:35 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-01-24 12:01:53 -0800
commit6fe02f9a2c6637ba6113d6130dbdf37aff2727d3 (patch)
tree0f8a331ef706abe8aea1ad1351aa2b0aced315f6 /activerecord/lib/active_record/test_case.rb
parentdcf0558ae5da2c265d842ac532492bd6ff51e24a (diff)
downloadrails-6fe02f9a2c6637ba6113d6130dbdf37aff2727d3.tar.gz
rails-6fe02f9a2c6637ba6113d6130dbdf37aff2727d3.tar.bz2
rails-6fe02f9a2c6637ba6113d6130dbdf37aff2727d3.zip
deprecated AR::TestCase in favor of AS::TestCase
Diffstat (limited to 'activerecord/lib/active_record/test_case.rb')
-rw-r--r--activerecord/lib/active_record/test_case.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/test_case.rb b/activerecord/lib/active_record/test_case.rb
index 46bbe962d1..86687afdda 100644
--- a/activerecord/lib/active_record/test_case.rb
+++ b/activerecord/lib/active_record/test_case.rb
@@ -1,3 +1,7 @@
+require 'active_support/deprecation'
+require 'active_support/test_case'
+
+ActiveSupport::Deprecation.warn('ActiveRecord::TestCase is deprecated, please use ActiveSupport::TestCase')
module ActiveRecord
# = Active Record Test Case
#