This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

1.9.2 wants a logger now for some reason

  • Loading branch information...
1 parent e74cc9f commit 7b5d5ee2cd963de05e2d876db1f4247627c18f5b @GBH committed Oct 11, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/letmein_test.rb
View
@@ -3,9 +3,10 @@
require 'letmein'
require 'sqlite3'
-ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ':memory:')
$stdout_orig = $stdout
$stdout = StringIO.new
+ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ':memory:')
+ActiveRecord::Base.logger = Logger.new($stdout)
class User < ActiveRecord::Base ; end
class Admin < ActiveRecord::Base ; end

0 comments on commit 7b5d5ee

Please sign in to comment.