class RSpec::Expectations::Configuration
def on_potential_false_positives=(behavior)
-
behavior
(Symbol
) -- can be set to :warn, :raise or :nothing
def on_potential_false_positives=(behavior) unless FALSE_POSITIVE_BEHAVIOURS.key?(behavior) raise ArgumentError, "Supported values are: #{FALSE_POSITIVE_BEHAVIOURS.keys}" end @on_potential_false_positives = behavior end