diff --git a/spec/unit/active_record_persistence_spec.rb b/spec/unit/active_record_persistence_spec.rb index cf7743d..7326fbe 100644 --- a/spec/unit/active_record_persistence_spec.rb +++ b/spec/unit/active_record_persistence_spec.rb @@ -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