aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authorYasuo Honda <yasuo.honda@gmail.com>2012-06-11 11:41:07 +0900
committerYasuo Honda <yasuo.honda@gmail.com>2012-06-11 11:41:07 +0900
commita0363e2ca69c77f420313e9bfd614a13c92ce8bb (patch)
tree2f087abd1cd6d3073db00e6cd27325d25054f46d /activerecord/test/cases
parentf48e7676e9b70884c309d3170b7ae8867e4bd252 (diff)
downloadrails-a0363e2ca69c77f420313e9bfd614a13c92ce8bb.tar.gz
rails-a0363e2ca69c77f420313e9bfd614a13c92ce8bb.tar.bz2
rails-a0363e2ca69c77f420313e9bfd614a13c92ce8bb.zip
Address ORA-00911 errors because of the heading underscore.
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/finder_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/finder_test.rb b/activerecord/test/cases/finder_test.rb
index 0914d15c5e..aa44307bc2 100644
--- a/activerecord/test/cases/finder_test.rb
+++ b/activerecord/test/cases/finder_test.rb
@@ -46,7 +46,7 @@ class FinderTest < ActiveRecord::TestCase
end
def test_exists_does_not_select_columns_without_alias
- assert_sql(/SELECT\W+1 AS _one FROM ["`]topics["`]\W+LIMIT 1/) do
+ assert_sql(/SELECT\W+1 AS one FROM ["`]topics["`]/i) do
Topic.exists?
end
end