File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
rspec-expectations/lib/rspec/expectations Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -187,15 +187,13 @@ def warn_about_potential_false_positives=(boolean)
187
187
end
188
188
end
189
189
190
- # Configuration for RSpec behaviour with matcher use that might result in false positives.
190
+ # Configures what RSpec will do about matcher use which would potentially cause
191
+ # false positives in tests. Defaults to `:warn` since this is generally the desired behavior,
192
+ # but can also be set to `:raise` or `:nothing`.
193
+ #
191
194
# @overload on_potential_false_positives
192
- # Indicates how RSpec handles potential false positives in tests (default: `:warn`;
193
- # options: `:warn`, `:raise`, `:nothing`)
194
195
# @return [Symbol] the behavior setting
195
196
# @overload on_potential_false_positives=(value)
196
- # Configures what RSpec will do about matcher use which would potentially
197
- # cause false positives in tests. Defaults to `:warn` since this is generally
198
- # the desired behavior.
199
197
# @param [Symbol] behavior can be set to `:warn`, `:raise` or `:nothing`
200
198
# @return [Symbol] the behavior setting
201
199
attr_reader :on_potential_false_positives
You can’t perform that action at this time.
0 commit comments