diff --git a/test/test_brochure.rb b/test/test_brochure.rb
index <HASH>..<HASH> 100644
--- a/test/test_brochure.rb
+++ b/test/test_brochure.rb
@@ -2,6 +2,8 @@ require "brochure"
 require "rack/test"
 require "test/unit"
 
+ENV['RACK_ENV'] = 'test'
+
 module Brochure
   class TestApplication < Application
     def warn(*) end
Set RACK_ENV in tests