From 4fddeb647a02fc7d17eb296be8a309f4969a1b89 Mon Sep 17 00:00:00 2001 From: David Arango Date: Thu, 18 Apr 2013 18:42:56 +0200 Subject: [PATCH] Fix --- spec/support/import_database_connection.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/support/import_database_connection.rb b/spec/support/import_database_connection.rb index a6557f3bd7..0143911108 100644 --- a/spec/support/import_database_connection.rb +++ b/spec/support/import_database_connection.rb @@ -7,18 +7,18 @@ module CartoDB if @@connection @@connection else - c = ::Sequel.connect('postgres://lorenzo:@localhost:5432/cartodb_importer_test') + c = ::Sequel.connect('postgres://postgres:@localhost:5432/cartodb_importer_test') begin c.test_connection @@connection = c rescue - c = ::Sequel.connect('postgres://lorenzo:@localhost:5432') + c = ::Sequel.connect('postgres://postgres:@localhost:5432') c.run <<-SQL CREATE DATABASE cartodb_importer_test WITH TEMPLATE = template_postgis -OWNER = lorenzo +OWNER = postgres SQL - @@connection = ::Sequel.connect('postgres://lorenzo:@localhost:5432/cartodb_importer_test') + @@connection = ::Sequel.connect('postgres://postgres:@localhost:5432/cartodb_importer_test') end return @@connection end @@ -28,7 +28,7 @@ SQL @@connection.disconnect @@connection = nil begin - c = ::Sequel.connect('postgres://lorenzo:@localhost:5432') + c = ::Sequel.connect('postgres://postgres:@localhost:5432') c.run "DROP DATABASE cartodb_importer_test" rescue => e raise e