Shmacros

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.

<p>It&#8217;s best to have <a href="http://mocha.rubyforge.org">Mocha</a> installed as some of the macros rely on its presence.</p>
  ~/dev/myapp% sudo gem install mocha
  ~/dev/myapp% script/plugin install git://github.com/maxim/shmacros.git

4 responses to “Shmacros”

  1. Double Shot #442 « A Fresh Cup

    [...] Shmacros – A bunch of useful shoulda macros. [...]

  2. Mike Breen

    Hi.

    Nice post, I’ll be adding the should_delegate macro to my current project.

    A question though, why wouldn’t you use the macro that comes with Paperclip?

Leave a Reply