aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors/test_join_sql.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/visitors/test_join_sql.rb')
-rw-r--r--test/visitors/test_join_sql.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/visitors/test_join_sql.rb b/test/visitors/test_join_sql.rb
index 8253fe5ab4..181ef6c570 100644
--- a/test/visitors/test_join_sql.rb
+++ b/test/visitors/test_join_sql.rb
@@ -4,7 +4,8 @@ module Arel
module Visitors
describe 'the join_sql visitor' do
before do
- @visitor = JoinSql.new Table.engine
+ @visitor = ToSql.new Table.engine
+ @visitor.extend(JoinSql)
end
describe 'inner join' do