Open runephilosof-abtion opened 2 weeks ago
I expected this to raise an error when Rspec.configure { |config| config.raise_on_warning = true }
Rspec.configure { |config| config.raise_on_warning = true }
https://github.com/rspec/rspec-expectations/blob/0139c22a62624849c09dd33980554215e63ab9eb/lib/rspec/expectations/handler.rb#L7-L11
Nice catch, @runephilosof-abtion . A PR is welcome.
I expected this to raise an error when
Rspec.configure { |config| config.raise_on_warning = true }
https://github.com/rspec/rspec-expectations/blob/0139c22a62624849c09dd33980554215e63ab9eb/lib/rspec/expectations/handler.rb#L7-L11