Commit 34275f3

mo khan <mo@mokhan.ca>
2016-04-23 21:03:07
fix database.yml
1 parent d809be8
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