From: Tomas Sedovic <tsedovic(a)redhat.com>
The configuration for the test database had credentials different from what
the default install sets.
This also hides the Postgres notice messages when doing migrations.
---
src/config/database.pg | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/config/database.pg b/src/config/database.pg
index e59fb72..19fe4e6 100644
--- a/src/config/database.pg
+++ b/src/config/database.pg
@@ -45,6 +45,7 @@ development:
username: aeolus
password: v23zj59an
host: localhost
+ min_messages: warning
# Warning: The database defined as 'test' will be erased and
# re-generated from your development database when you run 'rake test'.
@@ -52,8 +53,10 @@ development:
test: &TEST
adapter: postgresql
database: conductor_test
- username: postgres
+ username: aeolus
+ password: v23zj59an
host: localhost
+ min_messages: warning
production:
adapter: postgresql
--
1.7.4