aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/visitors/test_bind_visitor.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/visitors/test_bind_visitor.rb b/test/visitors/test_bind_visitor.rb
index a04a04f4cb..5171bbe57c 100644
--- a/test/visitors/test_bind_visitor.rb
+++ b/test/visitors/test_bind_visitor.rb
@@ -25,8 +25,8 @@ module Arel
}.new Table.engine.connection
assignment = um.ast.values[0]
- actual = visitor.accept(assignment, collector) { |collector|
- collector << "replace"
+ actual = visitor.accept(assignment, collector) {
+ "replace"
}
assert actual
value = actual.value
@@ -43,7 +43,7 @@ module Arel
bp = Nodes::BindParam.new 'omg'
called = false
- visitor.accept(bp, collector) { |collector| called = true }
+ visitor.accept(bp, collector) { called = true }
assert called
end