If you're a Ruby or Rails developer, you should subscribe to my RSS feed. Rss_icon

Shoulda 4.0.1 - the lean and mean release

written about over 2 years ago |
0 comments

Crossposted from GiantRobots


look at that drool

Shoulda is a great tool for cleaning up your tests, but there was always some
dirt under the hood that was keeping me up at night. I don’t want to just
move complexity around – I want to remove it entirely.

A recent change in edge rails forced me to get off my butt and do that.

So everyone give a warm hello to the latest Shoulda gem. It now uses a Context class in the backend, prints out should_eventually tests in a clear way, names the bare shouldas nicely, and fixes a few small bugs.

I also took the opportunity to fix some of the outstanding issues in the shoulda rails plugin (with a lot of great help from the community).

So grab the latest plugin and have some fun:

piston install https://svn.thoughtbot.com/plugins/shoulda/tags/rel-4.0.1 vendor/plugins/shoulda

Also, please let me know if you find any bugs or issues.

Leave a comment:

(click here for formatting tips)