redding/assert

add expectation API

kellyredding opened this issue · 1 comments

This is for users who prefer the .must* assertion api over the assert* api. I'm thinking an API to turn a value into an expectation (similar to value() in Minitest spec). Expectation objects have all of the .must* methods on them. They would generate results just like the assertion methods.

Anyway, something to think about.

Done, see assert_that(...).{equals|etc}(...): #297