Commit 34275f3
Changed files (2)
config/database.yml.example
@@ -55,7 +55,7 @@ development:
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
-test:
+test: &test
<<: *default
database: stronglifters_test
@@ -80,9 +80,7 @@ test:
#
production:
<<: *default
- database: stronglifters_production
- username: stronglifters
- password: <%= ENV['APP_DATABASE_PASSWORD'] %>
+ url: <%= ENV['DATABASE_URL'] %>
cucumber:
<<: *test
config/database.yml.travis
@@ -1,4 +1,4 @@
-test:
+test: &test
adapter: postgresql
database: app_test
encoding: unicode