Why use lambda in RSpec?
November 15th, 2007
RSpec allows you to write nice readable tests… and some little tricks make it even nicer! And I don’t know about you, but the word lambda is (1) ugly, (2) means basically bugger all and (3) is hard to pronounce late at night… so lets replace it!
Read the rest of this entry
Posted by mikel
Filed in RSpec
0 comments »
Latest comments
- Alex C
Love the advice, and it nicely articulates something I’ve been teaching for years.
But dude. Please. Lighten up on the...
- Mikel
Hey! it works! Cool, thanks Shane :)
- Bryan Ray
Excellent post.
I’m a big fan of not being overly DRY in specs and inline helper methods. This is...
- Shane
Hey, you can redeem them by creating a US iTunes account … and without having a credit card. I am...
- jonathan
Thanks, Mikel. I’ll try to give it a go again as I did try rspec on an existing app w/over...