Sha256: bba3f58452f705e60c83977bd7bbf80b223402e199de9ad885c6892634fc8ecb

Contents?: true

Size: 490 Bytes

Versions: 3

Compression:

Stored size: 490 Bytes

Contents

# frozen_string_literal: true

# this extension allows ExceptionNotifier to reset all the glocal settings
# (i.e. class vars that otherwise remains during the test)
# please remembeer to call this method each time after you set such settings
# to prevent order dependent test fails.
module ExceptionNotifier
  def self.reset_notifiers!
    @@notifiers = {}
    clear_ignore_conditions!
    ExceptionNotifier.error_grouping = false
    ExceptionNotifier.notification_trigger = nil
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
exception_notification-4.5.0 test/support/exception_notifier_helper.rb
exception_notification-4.4.3 test/support/exception_notifier_helper.rb
exception_notification-4.4.1 test/support/exception_notifier_helper.rb