Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 6fe02f9a2c6637ba6113d6130dbdf37aff2727d3 1 parent dcf0558
@tenderlove tenderlove authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 activerecord/lib/active_record/test_case.rb
View
4 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
#
Please sign in to comment.
Something went wrong with that request. Please try again.