aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors/test_mysql.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-11-19 18:57:36 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-11-19 18:57:36 -0800
commitc5f9fbf0d66ddeaf1fb2992e696ffe88244bda82 (patch)
tree2f876d9e77610f611fb2cbb3ef0e7bdea485229b /test/visitors/test_mysql.rb
parent9a0b1c4001869a05200effed883a8ef8bd3ddac9 (diff)
downloadrails-c5f9fbf0d66ddeaf1fb2992e696ffe88244bda82.tar.gz
rails-c5f9fbf0d66ddeaf1fb2992e696ffe88244bda82.tar.bz2
rails-c5f9fbf0d66ddeaf1fb2992e696ffe88244bda82.zip
calling cache methods against the connection
Diffstat (limited to 'test/visitors/test_mysql.rb')
-rw-r--r--test/visitors/test_mysql.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/visitors/test_mysql.rb b/test/visitors/test_mysql.rb
index 487db325e8..6330112229 100644
--- a/test/visitors/test_mysql.rb
+++ b/test/visitors/test_mysql.rb
@@ -4,7 +4,7 @@ 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