jdliss / shoulda-callback-matchers

Test existence of your Rails callbacks without having to call them
MIT License
134 stars 18 forks source link

legacy RSpec matcher protocol - deprecation warning #9

Closed basitshaikh closed 10 years ago

basitshaikh commented 10 years ago

Shoulda::Callback::Matchers::ActiveModel::CallbackMatcher 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.

rspec-3.0.0.beta2

dpehrson commented 10 years ago

Just hit this as well.

beatrichartz commented 10 years ago

thanks for the heads up guys, will take care of this as soon as I'm able to.

Wirwing commented 10 years ago

:+1: Waiting for the enhancement for rspec-3

goosetav commented 10 years ago

this seems to have been fixed with 6d5db071247e7b1e0a2bd5b33bccb562e415e14b -- @beatrichartz should this ticket get closed now?

beatrichartz commented 10 years ago

New release is 1.1.1 - thanks for the heads up guys!