Shoulda Testing Cheat Sheet
September 12th, 2008Updated 10/1/08: Modified for the release of Shoulda 2.0.
Updated 9/26/08: Fixed some typos and omissions. Added should_route and should_render_with_layout (Thanks to Dan Croak and Michal Szajbe).
I’ve created a basic Shoulda cheat sheet. Along with Topfunky’s Ruby on Rails Testing Cheat Sheet, it should be a good reference, especially for those migrating from RSpec.

September 16th, 2008 at 8:14 am
Pretty nice - this one’s getting printed out and taped to my wall!
September 16th, 2008 at 8:22 am
really useful. Thnx!
September 18th, 2008 at 7:11 am
After seeing this, I immediately thought of cheat, ie cheat.errtheblog.com.
There was a shoulda cheat, but I updated it to include examples, to organize them, etc:
http://cheat.errtheblog.com/s/shoulda/
September 21st, 2008 at 2:08 am
Real nice, real nice… this shit goes up on my wall too, make no mistake!
September 26th, 2008 at 4:05 am
Very useful sheet.
There’s one mistake though - should_set_flash_to needs to be changed to should_set_the_flash_to.
October 7th, 2008 at 3:55 pm
Great resource… I’ve added it to http://TechCheatSheets.com
October 29th, 2008 at 3:14 pm
Awesome work. I use this all the time.