Skip to content
Browse files

PostgreSQL: min_messages = warning for AR tests.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2989 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 9e0642a commit 54dfb291510135a99f8316bfc7279ad0ca9485c6 @jeremy jeremy committed
Showing with 5 additions and 5 deletions.
  1. +5 −5 activerecord/test/connections/native_postgresql/connection.rb
View
10 activerecord/test/connections/native_postgresql/connection.rb
@@ -9,16 +9,16 @@
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
-)
+ :database => db2,
+ :min_messages => "warning"
+)

0 comments on commit 54dfb29

Please sign in to comment.
Something went wrong with that request. Please try again.