aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/collectors/test_bind_collector.rb4
-rw-r--r--test/collectors/test_sql_string.rb1
2 files changed, 2 insertions, 3 deletions
diff --git a/test/collectors/test_bind_collector.rb b/test/collectors/test_bind_collector.rb
index 877aa20043..fef157782b 100644
--- a/test/collectors/test_bind_collector.rb
+++ b/test/collectors/test_bind_collector.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'helper'
-require 'arel/collectors/bind'
+require 'arel/collectors/substitute_binds'
module Arel
module Collectors
@@ -12,7 +12,7 @@ module Arel
end
def collect node
- @visitor.accept(node, Collectors::Bind.new)
+ @visitor.accept(node, Collectors::SubstituteBinds.new)
end
def compile node
diff --git a/test/collectors/test_sql_string.rb b/test/collectors/test_sql_string.rb
index 92f1bf0fba..769c2e6d53 100644
--- a/test/collectors/test_sql_string.rb
+++ b/test/collectors/test_sql_string.rb
@@ -1,6 +1,5 @@
# frozen_string_literal: true
require 'helper'
-require 'arel/collectors/bind'
module Arel
module Collectors