spec/spec_helper.rb in do_postgres-0.9.10.1 vs spec/spec_helper.rb in do_postgres-0.9.11
- old
+ new
@@ -27,10 +27,10 @@
require 'do_postgres'
log_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'log', 'do.log'))
FileUtils.mkdir_p(File.dirname(log_path))
-DataObjects::Postgres.logger = DataObjects::Logger.new(log_path, 0)
+DataObjects::Postgres.logger = DataObjects::Logger.new(log_path, :debug)
POSTGRES = OpenStruct.new
POSTGRES.user = ENV['DO_PG_USER'] || 'postgres'
POSTGRES.pass = ENV['DO_PG_PASS'] || ''
POSTGRES.host = ENV['DO_PG_HOST'] || '127.0.0.1'