should_eventually write this test
Posted: August 17th, 2009 | Author: mindtonic | Filed under: Uncategorized | Tags: shoulda, testing | No Comments »One thing I liked about rspec was the ability to define tests that you had not yet written. That way you could remind yourself when running the test suite that there are things still to do. Previously in Shoulda, I have been writing these kinds of tests in all caps and using “assert false” to trigger failure and remind me of future work. Turns out there is a nifty way to do it with Shoulda. (I should have guessed there would be!)
should_eventually "do something" #or just leave off the block should "do something"
Thanks to BlenderBox for bringing this to my attention while researching Shoulda integration testing.
Leave a Reply