diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2010-01-18 04:28:21 +0530 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2010-01-18 04:28:21 +0530 |
commit | e1d507c7fb541d29d57d152f40e3a539e70781d0 (patch) | |
tree | 6ccd51984c6dbb8aac491f424f8d4c555184ec58 /activerecord/test/cases | |
parent | 88de6b2de2606e141483ff90323c5f3ec0cfb298 (diff) | |
download | rails-e1d507c7fb541d29d57d152f40e3a539e70781d0.tar.gz rails-e1d507c7fb541d29d57d152f40e3a539e70781d0.tar.bz2 rails-e1d507c7fb541d29d57d152f40e3a539e70781d0.zip |
Dont check for class equaity when merging relations
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/relations_test.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/test/cases/relations_test.rb b/activerecord/test/cases/relations_test.rb index acf247d27b..e31d0ee3e8 100644 --- a/activerecord/test/cases/relations_test.rb +++ b/activerecord/test/cases/relations_test.rb @@ -420,10 +420,6 @@ class RelationTest < ActiveRecord::TestCase end end - def test_invalid_merge - assert_raises(ArgumentError) { Post.scoped & Developer.scoped } - end - def test_count posts = Post.scoped |