# File lib/dm-core/spec/setup.rb, line 106 def setup! adapter = DataMapper.setup(name, connection_uri) test_connection(adapter) adapter rescue Exception => e puts "Could not connect to the database using '#{connection_uri}' because of: #{e.inspect}" end