1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00

fix tests with AR3, which will apparently attempt to log even when logger is nil

This commit is contained in:
Travis Tilley 2010-08-27 17:08:18 -04:00
parent 14d851e465
commit 2734476175

View file

@ -1,6 +1,9 @@
begin
require 'rubygems'
require 'active_record'
require 'logger'
ActiveRecord::Base.logger = Logger.new(STDERR)
# A dummy class for mocking the activerecord connection class
class Connection