Skip to content

Commit a84353e

Browse files
committed
DRY config/database.yml
1 parent e9dbcf4 commit a84353e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

spec/dummy/config/database.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@ test:
99
port: 5432
1010
username: 'postgres'
1111
password: 'postgres'
12-
<% elsif adapter == 'mysql2' %>
13-
host: '127.0.0.1'
14-
port: 3306
15-
username: 'root'
16-
password: 'root'
17-
<% elsif adapter == 'trilogy' %>
12+
<% elsif adapter == 'mysql2' || adapter == 'trilogy' %>
1813
host: '127.0.0.1'
1914
port: 3306
2015
username: 'root'

0 commit comments

Comments
 (0)