diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-01-14 11:26:46 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-01-14 11:26:46 -0800 |
commit | c7cf7f476a47c9e4c60a369efa338a1fa9d81d6c (patch) | |
tree | fc59e40139ba0a0d3c6ba23d3d62472e6b2dea5a /activerecord/test/cases | |
parent | 034762a760eeb3c6fca4bdc31fb927d36b6cd6db (diff) | |
download | rails-c7cf7f476a47c9e4c60a369efa338a1fa9d81d6c.tar.gz rails-c7cf7f476a47c9e4c60a369efa338a1fa9d81d6c.tar.bz2 rails-c7cf7f476a47c9e4c60a369efa338a1fa9d81d6c.zip |
remove dead code
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/relation/where_chain_test.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/activerecord/test/cases/relation/where_chain_test.rb b/activerecord/test/cases/relation/where_chain_test.rb index 5fcb211d0e..07d7cae514 100644 --- a/activerecord/test/cases/relation/where_chain_test.rb +++ b/activerecord/test/cases/relation/where_chain_test.rb @@ -113,9 +113,6 @@ module ActiveRecord def test_rewhere_with_multiple_overwriting_conditions relation = Post.where(title: 'hello').where(body: 'world').rewhere(title: 'alone', body: 'again') - title_expected = Arel::Nodes::Equality.new(Post.arel_table['title'], 'alone') - body_expected = Arel::Nodes::Equality.new(Post.arel_table['body'], 'again') - assert_equal 2, relation.where_values.size value = relation.where_values.first |