These patches fix two small glitches that were introduced recently.
Show replies by date
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
From: Tomas Sedovic <tsedovic(a)redhat.com>
There was a ruby-debug code left in one of the tests.
---
.../provider_accounts_controller_spec.rb | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/spec/controllers/provider_accounts_controller_spec.rb
b/src/spec/controllers/provider_accounts_controller_spec.rb
index abc7844..567538b 100644
--- a/src/spec/controllers/provider_accounts_controller_spec.rb
+++ b/src/spec/controllers/provider_accounts_controller_spec.rb
@@ -23,7 +23,6 @@ describe Admin::ProviderAccountsController do
it "allows test account validity on create when passing test_account param"
do
UserSession.create(@admin)
- require 'ruby-debug'
post :create, :provider_account => {:provider_id => @provider.id},
:test_account => true
response.should be_success
response.should render_template("new")
--
1.7.4
On 03/03/2011 10:46 AM, tsedovic(a)redhat.com wrote:
These patches fix two small glitches that were introduced recently.
_______________________________________________
aeolus-devel mailing list
aeolus-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/aeolus-devel ACK to whole patchset.