rspec / rspec-expectations

Provides a readable API to express expected outcomes of a code example
https://rspec.info
MIT License
1.26k stars 397 forks source link

Remove support from dynamic predicate matchers for present-tense predicate #935

Closed myronmarston closed 3 years ago

myronmarston commented 8 years ago

https://github.com/rspec/rspec-expectations/blob/a271631e9b8e1749be876dbcc65dbd7a6a40d2db/lib/rspec/matchers/built_in/be.rb#L248-L250

It's confusing and can lead to bugs like rspec/rspec-rails#1681. It should be removed from RSpec 4 and deprecated in RSpec 3.99.

pirj commented 3 years ago

Fixed in #1286 (to be released as part of 4.0).