---
title: Shoulda 4.0.1 - the lean and mean release
teaser:
tags: news,web,ruby,testing,open source,shoulda
author: Tammer Saleh
published_on: 2008-03-03
---

[![look at that drool][drool]][more-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][shuffle] - 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](https://github.com/thoughtbot/shoulda).  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](https://github.com/thoughtbot/shoulda) (with a lot of
great help from the community).

So grab the latest plugin and have some fun:

<kbd>
piston import https://svn.thoughtbot.com/plugins/shoulda/tags/rel-4.0.1
vendor/plugins/shoulda
</kbd>

Also, [please let us know][tracker] if you find any bugs or issues.

[![Politiquotes]](http://politiquotes.org)

[politiquotes]: http://images.thoughtbot.com/ui/2008-3-3-politiquotes_1.jpg "Politiquotes"

**Shameless self promotion**:  While I'm in the blogging mood, I'd like to
feature a small over the weekends app that I've been working on with some other
thoughtbotters:

[Politiquotes](http://politiquotes.org) - Get your quote on!

[drool]: http://images.thoughtbot.com/ui/2008-3-3-baby.jpg "look at that drool"
[more-drool]: https://flickr.com/photos/robillardfamily/119635448/
[recent change]: http://tammer.lighthouseapp.com/projects/5807/tickets/12-rails-2-0-change-breaks-shoulda
[shuffle]: http://www.klankboomklang.com/2007/10/26/class-methods-part-ii-annotations/
[tracker]: http://tammer.lighthouseapp.com/projects/5807-shoulda/tickets

Visit our [Open Source page](https://thoughtbot.com/open-source) to learn more about our team's contributions.
