spec/dummy/config/database.yml in ninoxe-1.1.5 vs spec/dummy/config/database.yml in ninoxe-1.2.0
- old
+ new
@@ -1,11 +1,19 @@
-development:
+default: &default
adapter: postgresql
- database: ninoxe_dev
+ encoding: unicode
+ pool: 5
port: 5432
- username: <%= ENV['USER'] %>
-
+ host: localhost
+ username: chouette
+ password: chouette
+
+development:
+ <<: *default
+ database: ninoxe_dev
+
+# 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:
- adapter: postgresql
- database: ninoxe_test
- port: 5432
- username: <%= ENV['USER'] %>
+ <<: *default
+ database: ninoxe_test
\ No newline at end of file