test/visitors/test_mysql.rb in arel-2.2.3 vs test/visitors/test_mysql.rb in arel-3.0.0.rc1
- old
+ new
@@ -2,10 +2,10 @@
module Arel
module Visitors
describe 'the mysql visitor' do
before do
- @visitor = MySQL.new Table.engine.connection_pool
+ @visitor = MySQL.new Table.engine.connection
end
it 'squashes parenthesis on multiple unions' do
subnode = Nodes::Union.new 'left', 'right'
node = Nodes::Union.new subnode, 'topright'