Skip to content

Commit

Permalink
DRY config/database.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Apr 8, 2024
1 parent e9dbcf4 commit a84353e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions spec/dummy/config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit a84353e

Please sign in to comment.