aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_select_manager.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_select_manager.rb')
-rw-r--r--test/test_select_manager.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_select_manager.rb b/test/test_select_manager.rb
index db2b306916..826832c5ab 100644
--- a/test/test_select_manager.rb
+++ b/test/test_select_manager.rb
@@ -34,6 +34,10 @@ module Arel
@engine.connection.table_exists? name
end
+ def tables
+ @engine.connection.tables
+ end
+
def execute sql, name = nil, *args
@executed << sql
end