diff options
author | Emilio Tagua <miloops@gmail.com> | 2009-04-29 19:39:53 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2009-04-29 19:39:53 -0300 |
commit | 19d2ff83db5232a816dee201800baf3924705b31 (patch) | |
tree | 0216e13d506a258e0678c234aa1a6a86a81f6c45 /activerecord/test/cases/inheritance_test.rb | |
parent | 090539604b7685d838302c1773520622d87bd3d7 (diff) | |
download | rails-19d2ff83db5232a816dee201800baf3924705b31.tar.gz rails-19d2ff83db5232a816dee201800baf3924705b31.tar.bz2 rails-19d2ff83db5232a816dee201800baf3924705b31.zip |
Calculations now use Arel to construct the query.
Implemented other methods in AR::Base with Arel support.
Diffstat (limited to 'activerecord/test/cases/inheritance_test.rb')
-rw-r--r-- | activerecord/test/cases/inheritance_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/inheritance_test.rb b/activerecord/test/cases/inheritance_test.rb index eae5a60829..1943af2b9c 100644 --- a/activerecord/test/cases/inheritance_test.rb +++ b/activerecord/test/cases/inheritance_test.rb @@ -30,7 +30,7 @@ class InheritanceTest < ActiveRecord::TestCase ensure ActiveRecord::Base.store_full_sti_class = old end - + def test_should_store_full_class_name_with_store_full_sti_class_option_enabled old = ActiveRecord::Base.store_full_sti_class ActiveRecord::Base.store_full_sti_class = true @@ -39,7 +39,7 @@ class InheritanceTest < ActiveRecord::TestCase ensure ActiveRecord::Base.store_full_sti_class = old end - + def test_different_namespace_subclass_should_load_correctly_with_store_full_sti_class_option old = ActiveRecord::Base.store_full_sti_class ActiveRecord::Base.store_full_sti_class = true |