diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-05-04 03:34:06 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-05-04 03:34:06 +0900 |
commit | 0461f5c1e80dea174b9253c11462429f4531e716 (patch) | |
tree | 98783aed3cbd7477a60c53d1a8d2a82a74b5fe34 /activerecord | |
parent | efcf71fb64319519784fe1c69fd66f36fb52e47a (diff) | |
download | rails-0461f5c1e80dea174b9253c11462429f4531e716.tar.gz rails-0461f5c1e80dea174b9253c11462429f4531e716.tar.bz2 rails-0461f5c1e80dea174b9253c11462429f4531e716.zip |
Remove duplicated `test_merging_reorders_bind_params`
The same test exists in `test/cases/relation/merging_test.rb`.
https://github.com/rails/rails/blob/v5.1.0/activerecord/test/cases/relation/merging_test.rb#L94-L101
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/relations_test.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/activerecord/test/cases/relations_test.rb b/activerecord/test/cases/relations_test.rb index 7a710f1004..e72e9f62ef 100644 --- a/activerecord/test/cases/relations_test.rb +++ b/activerecord/test/cases/relations_test.rb @@ -2007,15 +2007,6 @@ class RelationTest < ActiveRecord::TestCase assert_equal binds, merged.bound_attributes end - def test_merging_reorders_bind_params - post = Post.first - right = Post.where(id: post.id) - left = Post.where(title: post.title) - - merged = left.merge(right) - assert_equal post, merged.first - end - def test_relation_join_method assert_equal "Thank you for the welcome,Thank you again for the welcome", Post.first.comments.join(",") end |