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:
parent
14d851e465
commit
2734476175
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue