require 'logatron/logatron' RSpec.configure do |config| config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end end Logatron.configure do |c| c.logger = Logger.new($stdout) c.level = Logatron::DEBUG c.transformer = proc {|x| x[:body]} end