Permalink
Browse files

Improve output from the testing rake task

  • Loading branch information...
1 parent e3ac6ab commit 4916703b5aa15a1d64cc280f531932adf32414d9 Joe Ferris committed Nov 17, 2009
Showing with 5 additions and 1 deletion.
  1. +1 −1 rails/init.rb
  2. +4 −0 tasks/hoptoad_notifier_tasks.rake
View
2 rails/init.rb
@@ -2,7 +2,7 @@
ActionController::Base.send(:include, HoptoadNotifier::Catcher)
end
-HoptoadNotifier.configure do |config|
+HoptoadNotifier.configure(true) do |config|
config.environment_name = RAILS_ENV
config.project_root = RAILS_ROOT
end
View
4 tasks/hoptoad_notifier_tasks.rake
@@ -74,6 +74,10 @@ namespace :hoptoad do
rescue
Object.const_set(exception_name, Class.new(Exception))
end
+
+ def logger
+ nil
+ end
end
puts 'Processing request.'

0 comments on commit 4916703

Please sign in to comment.