diff --git a/test/test_database_schema.rb b/test/test_database_schema.rb index c56c6ee9..cfd8130f 100644 --- a/test/test_database_schema.rb +++ b/test/test_database_schema.rb @@ -2,7 +2,7 @@ ActiveRecord::Base.connection.execute 'create database "adminium-fixture"' if ENV['CI'] conn_spec = ActiveRecord::Base.configurations.find_db_config("fixture-#{test_adapter}").configuration_hash Rails.configuration.test_database_conn_spec = - "#{conn_spec[:adapter]}://#{conn_spec[:username]}@#{conn_spec[:host]}/#{conn_spec[:database]}" + "#{conn_spec[:adapter]}://#{conn_spec[:username]}:#{conn_spec[:password]}@#{conn_spec[:host]}/#{conn_spec[:database]}" ActiveRecord::Base.establish_connection Rails.configuration.test_database_conn_spec ActiveRecord::Schema.verbose = false