aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/sqlite3
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-01-14 09:59:26 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-01-14 09:59:26 +0900
commita557ab00f51e28d5609837f02fcc66d519615d3a (patch)
treed54db1c1cf6a10036a525736a5b9f289949a47ec /activerecord/test/cases/adapters/sqlite3
parentf5ab4055b909e7b325304c5a7e414c28bbe441b7 (diff)
downloadrails-a557ab00f51e28d5609837f02fcc66d519615d3a.tar.gz
rails-a557ab00f51e28d5609837f02fcc66d519615d3a.tar.bz2
rails-a557ab00f51e28d5609837f02fcc66d519615d3a.zip
`substitute_at` is no longer used
Arel handles substitution for bind parameters by now.
Diffstat (limited to 'activerecord/test/cases/adapters/sqlite3')
-rw-r--r--activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb b/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
index a2fd1177a6..038d9e2d0f 100644
--- a/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
+++ b/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
@@ -130,11 +130,6 @@ module ActiveRecord
assert_equal 'UTF-8', @conn.encoding
end
- def test_bind_value_substitute
- bind_param = @conn.substitute_at('foo')
- assert_equal Arel.sql('?'), bind_param.to_sql
- end
-
def test_exec_no_binds
with_example_table 'id int, data string' do
result = @conn.exec_query('SELECT id, data FROM ex')