Skip to content
This repository
Browse code

Proper order in test #1329

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1457 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit aa49feb5886bd2821e425c39dc1e3562e484817e 1 parent 5ba31b3
David Heinemeier Hansson authored June 21, 2005

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  activerecord/test/column_alias_test.rb
4  activerecord/test/column_alias_test.rb
@@ -8,11 +8,11 @@ def test_column_alias
8 8
     if ActiveRecord::ConnectionAdapters.const_defined? :OracleAdapter
9 9
       if ActiveRecord::Base.connection.instance_of?(ActiveRecord::ConnectionAdapters::OracleAdapter)
10 10
         records = topic.connection.select_all("SELECT id AS pk FROM topics WHERE ROWNUM < 2")
11  
-        assert_equal(records[0].keys[0], "pk")
  11
+        assert_equal("pk", records[0].keys[0])
12 12
       end
13 13
     else
14 14
       records = topic.connection.select_all("SELECT id AS pk FROM topics")
15  
-      assert_equal(records[0].keys[0], "pk")
  15
+      assert_equal("pk", records[0].keys[0])
16 16
     end
17 17
   end
18 18
   

0 notes on commit aa49feb

Please sign in to comment.
Something went wrong with that request. Please try again.