aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/column_alias_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/column_alias_test.rb')
-rw-r--r--activerecord/test/column_alias_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/column_alias_test.rb b/activerecord/test/column_alias_test.rb
index 1c84e119f3..f84d584eee 100644
--- a/activerecord/test/column_alias_test.rb
+++ b/activerecord/test/column_alias_test.rb
@@ -11,7 +11,7 @@ class TestColumnAlias < Test::Unit::TestCase
assert_equal(records[0].keys[0], "pk")
end
else
- records = topic.connection.select_all("SELECT id AS pk FROM topics LIMIT 1")
+ records = topic.connection.select_all("SELECT id AS pk FROM topics")
assert_equal(records[0].keys[0], "pk")
end
end