aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/connections
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2005-11-12 22:28:38 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2005-11-12 22:28:38 +0000
commit54dfb291510135a99f8316bfc7279ad0ca9485c6 (patch)
tree7d70299f0e02e1a0a368e3ab4681200406feb058 /activerecord/test/connections
parent9e0642a4acf1222facd07103c11ec77c968dba66 (diff)
downloadrails-54dfb291510135a99f8316bfc7279ad0ca9485c6.tar.gz
rails-54dfb291510135a99f8316bfc7279ad0ca9485c6.tar.bz2
rails-54dfb291510135a99f8316bfc7279ad0ca9485c6.zip
PostgreSQL: min_messages = warning for AR tests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2989 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/connections')
-rw-r--r--activerecord/test/connections/native_postgresql/connection.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/activerecord/test/connections/native_postgresql/connection.rb b/activerecord/test/connections/native_postgresql/connection.rb
index c9b00447f9..4dedf74040 100644
--- a/activerecord/test/connections/native_postgresql/connection.rb
+++ b/activerecord/test/connections/native_postgresql/connection.rb
@@ -9,16 +9,16 @@ db2 = 'activerecord_unittest2'
ActiveRecord::Base.establish_connection(
:adapter => "postgresql",
- :host => nil,
:username => "postgres",
:password => "postgres",
- :database => db1
+ :database => db1,
+ :min_messages => "warning"
)
Course.establish_connection(
:adapter => "postgresql",
- :host => nil,
:username => "postgres",
:password => "postgres",
- :database => db2
-) \ No newline at end of file
+ :database => db2,
+ :min_messages => "warning"
+)