You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the case of a custom matcher being defined using a standard ruby class (as is the case in a gem like shoulda), I don't think transpec needs to do anything: they'll almost certainly want to support RSpec 2.x and 3.x (which is trivial: simply use aliases to support both forms of the protocol).
Note that the old protocol isn't removed from RSpec 3. It's simply deprecated (and the new protocol isn't even available in 2.99). We did that, rather than the typical "deprecate in 2.99, remove in 3.0" route, because one of the most common places where custom matchers show up is in extension gems, and we don't want people to not be able to upgrade because an extension gem they use (like shoulda) uses the old protocol. So we're having a longer period of deprecation with the plan to remove support for the old protocol in 4.0.
rspec/rspec-expectations#270
rspec/rspec-expectations#373
rspec/rspec-expectations#375
The text was updated successfully, but these errors were encountered: