aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2008-02-20 00:40:34 +0000
committerMichael Koziarski <michael@koziarski.com>2008-02-20 00:40:34 +0000
commit921752c7d594850e3d4a6d5c72459310fdf5d0f6 (patch)
treebc4888f81bd55dc326fd9bac8412cb31eedff841 /activerecord/test
parentab45bd487a935ae9558e814ca06b1e4e71ba554a (diff)
downloadrails-921752c7d594850e3d4a6d5c72459310fdf5d0f6.tar.gz
rails-921752c7d594850e3d4a6d5c72459310fdf5d0f6.tar.bz2
rails-921752c7d594850e3d4a6d5c72459310fdf5d0f6.zip
Remove reference to 'postgres' user in the connection and Rakefiles. Allows postgres permissions to fallback to host / ident based auth.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8906 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/connections/native_postgresql/connection.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/connections/native_postgresql/connection.rb b/activerecord/test/connections/native_postgresql/connection.rb
index d644441fcc..7ee83f4837 100644
--- a/activerecord/test/connections/native_postgresql/connection.rb
+++ b/activerecord/test/connections/native_postgresql/connection.rb
@@ -7,13 +7,13 @@ ActiveRecord::Base.logger = Logger.new("debug.log")
ActiveRecord::Base.configurations = {
'arunit' => {
:adapter => 'postgresql',
- :username => 'postgres',
+ :username => nil,
:database => 'activerecord_unittest',
:min_messages => 'warning'
},
'arunit2' => {
:adapter => 'postgresql',
- :username => 'postgres',
+ :username => nil,
:database => 'activerecord_unittest2',
:min_messages => 'warning'
}