diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-10-10 21:32:01 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-10-11 11:54:46 -0200 |
commit | e0b76d6151821527f16b3f163abde3ebea1b2a50 (patch) | |
tree | c303ea44988442d7dfbe021586978bba2d2de22a /activerecord/test/cases/relations_test.rb | |
parent | 21a92b8d01eed34a6b26adb51139f1c40467409e (diff) | |
download | rails-e0b76d6151821527f16b3f163abde3ebea1b2a50.tar.gz rails-e0b76d6151821527f16b3f163abde3ebea1b2a50.tar.bz2 rails-e0b76d6151821527f16b3f163abde3ebea1b2a50.zip |
reorder removed in favor of except(:order).order
Diffstat (limited to 'activerecord/test/cases/relations_test.rb')
-rw-r--r-- | activerecord/test/cases/relations_test.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/test/cases/relations_test.rb b/activerecord/test/cases/relations_test.rb index d642aeed8b..222819cbe5 100644 --- a/activerecord/test/cases/relations_test.rb +++ b/activerecord/test/cases/relations_test.rb @@ -135,12 +135,6 @@ class RelationTest < ActiveRecord::TestCase assert_equal topics(:fourth).title, topics.first.title end - def test_finding_with_reorder - topics = Topic.order('author_name').order('title').reorder('id') - assert_equal 4, topics.to_a.size - assert_equal topics(:first).title, topics.first.title - end - def test_finding_with_order_and_take entrants = Entrant.order("id ASC").limit(2).to_a |