rspec / rspec-rails

RSpec for Rails 6+
https://rspec.info
MIT License
5.14k stars 1.03k forks source link

Fix tests to expect a non-match, not an error #2728

Closed naveg closed 5 months ago

naveg commented 5 months ago

In https://github.com/rspec/rspec-expectations/pull/1449, the Include matcher is fixed so that it doesn't raise an error when types don't match. Instead, the actual and expected will be deemed to not match.

pirj commented 5 months ago

Closing as the root PR was closed