Commit d842e784

mo khan <mo@mokhan.ca>
2014-07-05 19:59:14
do not send emails in test environment.
1 parent fa4fb8c
Changed files (1)
config/application.rb
@@ -42,6 +42,6 @@ module Cake
       :email_prefix => "[Boom! #{Rails.env}] ",
       :sender_address => %{"notifier" <notifier@cakeside.com>},
       :exception_recipients => ENV['EXCEPTION_EMAIL_ADDRESS'].split(" ")
-    }
+    } unless Rails.env.test?
   end
 end