spec/helpers/exception_helpers.rb in exception_handling-2.11.1 vs spec/helpers/exception_helpers.rb in exception_handling-2.11.2
- old
+ new
@@ -13,8 +13,8 @@
attr_reader :sent_notifications
def capture_notifications
@sent_notifications = []
- allow(ExceptionHandling).to receive(:send_exception_to_honeybadger).with(anything) { |exception_info| @sent_notifications << exception_info }
+ allow(ExceptionHandling).to receive(:send_exception_to_honeybadger).with(any_args) { |exception_info| @sent_notifications << exception_info }
end
end