aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-06-21 05:58:42 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-06-21 05:58:42 +0000
commitaa49feb5886bd2821e425c39dc1e3562e484817e (patch)
tree7968e13329a4205aa0bdb86c37c945248eaed962 /activerecord
parent5ba31b3d1dc7a3ac1e69a799ce3400a09cc5dbdb (diff)
downloadrails-aa49feb5886bd2821e425c39dc1e3562e484817e.tar.gz
rails-aa49feb5886bd2821e425c39dc1e3562e484817e.tar.bz2
rails-aa49feb5886bd2821e425c39dc1e3562e484817e.zip
Proper order in test #1329
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1457 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/column_alias_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/column_alias_test.rb b/activerecord/test/column_alias_test.rb
index f84d584eee..fbc93f1034 100644
--- a/activerecord/test/column_alias_test.rb
+++ b/activerecord/test/column_alias_test.rb
@@ -8,11 +8,11 @@ class TestColumnAlias < Test::Unit::TestCase
if ActiveRecord::ConnectionAdapters.const_defined? :OracleAdapter
if ActiveRecord::Base.connection.instance_of?(ActiveRecord::ConnectionAdapters::OracleAdapter)
records = topic.connection.select_all("SELECT id AS pk FROM topics WHERE ROWNUM < 2")
- assert_equal(records[0].keys[0], "pk")
+ assert_equal("pk", records[0].keys[0])
end
else
records = topic.connection.select_all("SELECT id AS pk FROM topics")
- assert_equal(records[0].keys[0], "pk")
+ assert_equal("pk", records[0].keys[0])
end
end