test/functional_connection.rb in ruote-dm-2.1.10 vs test/functional_connection.rb in ruote-dm-2.1.11

- old
+ new

@@ -17,13 +17,15 @@ elsif ARGV.include?('-ls') || ARGV.include?('--ls') DataMapper::Logger.new(STDOUT, :debug) end DataMapper.setup(:default, 'postgres://localhost/ruote_test') +#DataMapper.setup(:default, 'mysql://root:root@localhost/ruote_test') #DataMapper.setup(:default, 'sqlite3::memory:') #DataMapper.setup(:default, 'sqlite3:ruote_test.db') #DataMapper.repository(:default) do +# require 'dm-migrations' # gem install dm-migrations # Ruote::Dm::Document.all.destroy! rescue nil # Ruote::Dm::Document.auto_upgrade! #end def new_storage (opts)