Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing inform_hoptoad alias and making sure that notify_hoptoad is …

…included [#330 state:resolved]
  • Loading branch information...
commit 7d5a10e8ac3313d9f0f10036d9865ae7a9722ee1 1 parent 05199de
@qrush qrush authored
View
1  .gitignore
@@ -6,4 +6,5 @@ public/system
*.swp
*.DS_Store
coverage/*
+rdoc/
View
2  lib/hoptoad_notifier.rb
@@ -203,8 +203,6 @@ def notify_hoptoad hash_or_exception
end
end
- alias_method :inform_hoptoad, :notify_hoptoad
-
# Returns the default logger or a logger that prints to STDOUT. Necessary for manual
# notifications outside of controllers.
def logger
View
2  test/controller_test.rb
@@ -20,7 +20,7 @@ def expect_session_data_for(controller)
def should_notify_normally
should "have inserted its methods into the controller" do
- assert @controller.methods.include?("inform_hoptoad")
+ assert @controller.methods.include?("notify_hoptoad")
end
should "prevent raises and send the error to hoptoad" do
Please sign in to comment.
Something went wrong with that request. Please try again.