diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-10-26 13:33:59 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-10-26 13:34:00 -0200 |
commit | 7c7a225fbebd6dadfba4de9d7404a1d6eb16da70 (patch) | |
tree | 4f83f1b15c01888f03ecba889398bbb76cdc8fbe | |
parent | 00791bfb64402fcd9e77f8c5087fab0a5c0e77e2 (diff) | |
download | rails-7c7a225fbebd6dadfba4de9d7404a1d6eb16da70.tar.gz rails-7c7a225fbebd6dadfba4de9d7404a1d6eb16da70.tar.bz2 rails-7c7a225fbebd6dadfba4de9d7404a1d6eb16da70.zip |
Remove ActiveRecord::Model consant from AS::TestCase
Fixing the build.
-rw-r--r-- | activesupport/lib/active_support/test_case.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index 7b9378a7f6..81d97ecb40 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -17,7 +17,7 @@ module ActiveSupport # Use AS::TestCase for the base class when describing a model register_spec_type(self) do |desc| - Class === desc && desc < ActiveRecord::Model + Class === desc && desc < ActiveRecord::Base end Assertion = MiniTest::Assertion |