aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_select_manager.rb
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-07-14 21:15:09 +0530
committerVipul A M <vipulnsward@gmail.com>2013-11-10 11:29:17 +0530
commita8f6662defe086258814f82dc8acb8d2eeee9842 (patch)
treeba5ad462c4f0a41afa4ab88d06e91938057f1d80 /test/test_select_manager.rb
parent27330ebae9537dd5503b10d3c0e6f422a38bd9c8 (diff)
downloadrails-a8f6662defe086258814f82dc8acb8d2eeee9842.tar.gz
rails-a8f6662defe086258814f82dc8acb8d2eeee9842.tar.bz2
rails-a8f6662defe086258814f82dc8acb8d2eeee9842.zip
Remove deprecated calls to `SelectManage#insert` with preference to using `compile_insert`
Diffstat (limited to 'test/test_select_manager.rb')
-rw-r--r--test/test_select_manager.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/test_select_manager.rb b/test/test_select_manager.rb
index a449f78bd8..9779aca21d 100644
--- a/test/test_select_manager.rb
+++ b/test/test_select_manager.rb
@@ -435,20 +435,6 @@ module Arel
end
end
- describe 'insert' do
- it 'uses the select FROM' do
- engine = EngineProxy.new Table.engine
- table = Table.new :users
- manager = Arel::SelectManager.new engine
- manager.from table
- manager.insert 'VALUES(NULL)'
-
- engine.executed.last.must_be_like %{
- INSERT INTO "users" VALUES(NULL)
- }
- end
- end
-
describe 'lock' do
# This should fail on other databases
it 'adds a lock node' do