From 7c7a225fbebd6dadfba4de9d7404a1d6eb16da70 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Fri, 26 Oct 2012 13:33:59 -0200 Subject: Remove ActiveRecord::Model consant from AS::TestCase Fixing the build. --- activesupport/lib/active_support/test_case.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3