jdliss / shoulda-callback-matchers

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

Better error messages for partial assertion failures #15

Open beatrichartz opened 9 years ago

beatrichartz commented 9 years ago

In long winded statements like:

it { is_expected.to callback(:foo).after(:update).if(:something_is_true)

it would be helpful to have indications in the failure message which assertion of the three chained assertions failed, rather than just indicating a failure.