From a84353e0bd051fb033ddb6f656860d8ed6e2f1e1 Mon Sep 17 00:00:00 2001 From: Nicolas Rodriguez Date: Mon, 8 Apr 2024 18:36:11 +0200 Subject: [PATCH] DRY config/database.yml --- spec/dummy/config/database.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/spec/dummy/config/database.yml b/spec/dummy/config/database.yml index a879c29..7c02f2a 100644 --- a/spec/dummy/config/database.yml +++ b/spec/dummy/config/database.yml @@ -9,12 +9,7 @@ test: port: 5432 username: 'postgres' password: 'postgres' -<% elsif adapter == 'mysql2' %> - host: '127.0.0.1' - port: 3306 - username: 'root' - password: 'root' -<% elsif adapter == 'trilogy' %> +<% elsif adapter == 'mysql2' || adapter == 'trilogy' %> host: '127.0.0.1' port: 3306 username: 'root'