Permalink
Browse files

Remove ActiveRecord::Model consant from AS::TestCase

Fixing the build.
  • Loading branch information...
1 parent 00791bf commit 7c7a225fbebd6dadfba4de9d7404a1d6eb16da70 @carlosantoniodasilva carlosantoniodasilva committed Oct 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/test_case.rb
@@ -17,7 +17,7 @@ class TestCase < ::MiniTest::Spec
# 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

0 comments on commit 7c7a225

Please sign in to comment.