From 359dece76a48f6b0c8e742fc7bee9f4a6ef96dd1 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Fri, 30 Aug 2024 10:30:02 +0200 Subject: [PATCH] RSpec: Raise on potential false positives --- spec/support/expectations.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 spec/support/expectations.rb diff --git a/spec/support/expectations.rb b/spec/support/expectations.rb new file mode 100644 index 000000000..0034291de --- /dev/null +++ b/spec/support/expectations.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +RSpec::Expectations.configuration.tap do |config| + config.on_potential_false_positives = :raise +end