maxim / blog

My blog articles at http://mediumexposure.com

blog / 2009-04-29-announcing-shmacros.textile
100644 18 lines (13 sloc) 1.634 kb

I use shoulda constantly as it is my favorite testing framework. I figured the custom macros I write may prove useful to others, thus I released them as a plugin called shmacros. As of now it includes the following methods.

It’s best to have Mocha installed as some of the macros rely on its presence.

  ~/dev/myapp% sudo gem install mocha
  ~/dev/myapp% script/plugin install git://github.com/maxim/shmacros.git