diff --git a/lib/api_presenter.rb b/lib/api_presenter.rb
index <HASH>..<HASH> 100644
--- a/lib/api_presenter.rb
+++ b/lib/api_presenter.rb
@@ -52,4 +52,8 @@ module ApiPresenter
     end
   end
 
+  def self.logger=(logger)
+    @logger = logger
+  end
+
 end
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,6 @@
 require 'active_record'
 require 'database_cleaner'
+require 'logger'
 require 'rr'
 require 'rspec'
 require 'sqlite3'
@@ -15,6 +16,7 @@ RSpec.configure do |config|
 
   config.before(:each) do
     DatabaseCleaner.start
+    ApiPresenter.logger = Logger.new(StringIO.new)
   end
 
   config.after(:each) do
log to a StringIO for each test