thoughtbot/shoulda

Deprecation with Rspec 3

TechFounder opened this issue · 1 comments

From the Rspec blog: (http://myronmars.to/n/dev-blog/2014/02/rspec-2-99-and-3-0-beta-2-have-been-released)

Deprecations:
Retain support for RSpec 2 matcher protocol (e.g. for matchers in 3rd party extension gems like shoulda), but it will print a deprecation warning. (Myron Marston)

I know get this error message when I Rspec -

Shoulda::Matchers::ActiveModel::AllowValueMatcher implements a legacy RSpec matcher
protocol. For the current protocol you should expose the failure messages
via the `failure_message` and `failure_message_when_negated` methods.
etc

I believe this can be closed, as it's fixed in shoulda-matchers.