Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update stubbing example in README to match method signature

Literally following the instructions in the README could lead to
test suite failures if `Airbrake.notify` ever gets called with options.

Avoid this by updating the example to match the actual method signature.
  • Loading branch information...
commit cd424bace615c2d7df28d80c94901b046c468aa9 1 parent 9cfed92
Greg Hurrell authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -373,7 +373,7 @@ use code like this in your test_helper.rb or spec_helper.rb files to redefine
that method so those errors are not reported while running tests.
module Airbrake
- def self.notify(thing)
+ def self.notify(exception, opts = {})
# do nothing.
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.