Skip to content

Commit

Permalink
Re-adds env vars to config so tests actually test something :)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismydesign committed May 17, 2018
1 parent 8fec737 commit 87305ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.development
@@ -1 +1 @@
DB_DATABASE=development
DB_DATABASE=file:mem_db_development?mode=memory
2 changes: 1 addition & 1 deletion .env.test
@@ -1 +1 @@
DB_DATABASE=test
DB_DATABASE=file:mem_db_test?mode=memory
4 changes: 2 additions & 2 deletions config/database.yml
@@ -1,7 +1,7 @@
development:
adapter: sqlite3
database: file:mem_db_development?mode=memory
database: <%= ENV["DB_DATABASE"] %>

test:
adapter: sqlite3
database: file:mem_db_test?mode=memory
database: <%= ENV["DB_DATABASE"] %>

0 comments on commit 87305ff

Please sign in to comment.