redding / assert

Assertion style testing framework.
https://github.com/redding/assert
MIT License
10 stars 1 forks source link

`should` with no block behave like `should_eventually`? #44

Closed tpett closed 13 years ago

tpett commented 13 years ago

A feature of Shoulda I use all the time is mocking out my tests with should statements, but not providing the blocks until I am ready to implement the test. Right now I just get an error saying I need to pass a block. It would be nice if when I call should with no block it just shows as a skipped test.

kellyredding commented 13 years ago

Done in 0.4.0 release branch: https://github.com/teaminsight/assert/commit/f71f58a975fce9d4386bdbd3c7910133ac5f1531.