bmabey/database_cleaner — pull request #121 by dn (2012-05-18 21:17:51+00:00)
Title: db.url can be nil if Sequel.connect(HASH) was used

db.url/db.uri is not set if a hash is used to connect to the database, but database_type is always set and returns the correct type.

http://sequel.rubyforge.org/rdoc/classes/Sequel/Dataset.html