Permalink
Browse files

deprecated AR::TestCase in favor of AS::TestCase

  • Loading branch information...
1 parent dcf0558 commit 6fe02f9a2c6637ba6113d6130dbdf37aff2727d3 @tenderlove tenderlove committed Jan 24, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 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
#

0 comments on commit 6fe02f9

Please sign in to comment.