aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/base_test.rb
diff options
context:
space:
mode:
authorJosh Adams <josh@isotope11.com>2013-03-19 21:12:44 -0500
committerJosh Adams <josh@isotope11.com>2013-03-19 21:12:44 -0500
commit9a62711c415ca8ec60512c38931b8967f24d7537 (patch)
treea96f54d659e65c222e09a478744b55bdb83f2d58 /activerecord/test/cases/base_test.rb
parent730f725509f7c504837510a466bd693551bacb82 (diff)
downloadrails-9a62711c415ca8ec60512c38931b8967f24d7537.tar.gz
rails-9a62711c415ca8ec60512c38931b8967f24d7537.tar.bz2
rails-9a62711c415ca8ec60512c38931b8967f24d7537.zip
Commas aren't comas.
Type a fixo.
Diffstat (limited to 'activerecord/test/cases/base_test.rb')
-rw-r--r--activerecord/test/cases/base_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb
index 445322486c..7fb50e9617 100644
--- a/activerecord/test/cases/base_test.rb
+++ b/activerecord/test/cases/base_test.rb
@@ -141,13 +141,13 @@ class BasicsTest < ActiveRecord::TestCase
end
end
- def test_limit_should_sanitize_sql_injection_for_limit_without_comas
+ def test_limit_should_sanitize_sql_injection_for_limit_without_commas
assert_raises(ArgumentError) do
Topic.limit("1 select * from schema").to_a
end
end
- def test_limit_should_sanitize_sql_injection_for_limit_with_comas
+ def test_limit_should_sanitize_sql_injection_for_limit_with_commas
assert_raises(ArgumentError) do
Topic.limit("1, 7 procedure help()").to_a
end