aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation_test.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2012-04-13 18:26:04 +0100
committerJon Leighton <j@jonathanleighton.com>2012-04-13 18:26:19 +0100
commit1ad138cf4b5c164c830917e5d4ef25943373bd0b (patch)
tree0427bc4f83851ede310261098651102237a4a4a2 /activerecord/test/cases/relation_test.rb
parent012bab8c9f0e9a9208e32ef57c8dd5c7e1c2f115 (diff)
downloadrails-1ad138cf4b5c164c830917e5d4ef25943373bd0b.tar.gz
rails-1ad138cf4b5c164c830917e5d4ef25943373bd0b.tar.bz2
rails-1ad138cf4b5c164c830917e5d4ef25943373bd0b.zip
fix tests
Diffstat (limited to 'activerecord/test/cases/relation_test.rb')
-rw-r--r--activerecord/test/cases/relation_test.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/test/cases/relation_test.rb b/activerecord/test/cases/relation_test.rb
index 719b96fa0f..9ef703fd9b 100644
--- a/activerecord/test/cases/relation_test.rb
+++ b/activerecord/test/cases/relation_test.rb
@@ -128,12 +128,6 @@ module ActiveRecord
assert_equal ['foo'], relation.references_values
end
- def test_apply_finder_options_takes_references
- relation = Relation.new :a, :b
- relation = relation.apply_finder_options(:references => :foo)
- assert_equal ['foo'], relation.references_values
- end
-
test 'merging a hash into a relation' do
relation = Relation.new :a, :b
relation = relation.merge where: ['lol'], readonly: true