diff options
Diffstat (limited to 'test/test_select_manager.rb')
-rw-r--r-- | test/test_select_manager.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/test_select_manager.rb b/test/test_select_manager.rb index c1575a7929..cf8903a05b 100644 --- a/test/test_select_manager.rb +++ b/test/test_select_manager.rb @@ -449,18 +449,6 @@ module Arel SELECT * FROM "users" ORDER BY "users"."id" DESC } end - - it 'has order attributes for expressions' do - table = Table.new :users - manager = Arel::SelectManager.new Table.engine - manager.project Nodes::SqlLiteral.new '*' - manager.from table - manager.order table[:id].count.desc - manager.to_sql.must_be_like %{ - SELECT * FROM "users" ORDER BY COUNT("users"."id") DESC - } - end - end describe 'on' do |