spec/extensions/spec_helper.rb in sequel-3.28.0 vs spec/extensions/spec_helper.rb in sequel-3.29.0
- old
+ new
@@ -46,9 +46,13 @@
class MockDatabase < Sequel::Database
@@quote_identifiers = false
self.identifier_input_method = nil
self.identifier_output_method = nil
attr_reader :sqls
+
+ def connect(opts)
+ Object.new
+ end
def execute(sql, opts={})
@sqls ||= []
@sqls << sql
end