Upgrading rspec to 0.9.x

Courtenay : May 8th, 2007

Once again the team has introducted a breaking change between versions. I'm holding off migrating up from 0.8.x until others solve all the issues that will arise. To be honest, it's the one thing that kept me from rspec in the past, and despite now using it in all my projects, I really hate that they keep changing the API. Hate hate. I may just wait til 1.0, when they change it all again.

Ruy Asan has hit and solved a few issues and gotchas in his own apps, so if you're feeling the pain of rspec 0.9, check out his migration pains post.

3 Responses to “Upgrading rspec to 0.9.x”

  1. Chad Humphries Says:

    We have had all of our projects on 0.9.x or trunk for a bit. Aside from the initial branch change the move has been pretty painless for us.

    Most of our existing projects switched via spectranslator and the rest required one or two tweaks to the spechelper.rb.

    I imagine if you were migrating from 0.7.X => 0.9 things could get difficult quickly though.

  2. Matthijs Langenberg Says:

    Don’t blame the RSpec team: the changes in the API are big improvements and had to be made at some point and the news that there were going to be some major API changes with the 0.9 release were announced a long time ago.

    Wait for the 1.0 release if you want a stable API.

  3. topfunky Says:

    This document may clear up some of the changes:

    http://rubyforge.org/pipermail/rspec-users/2007-February/000642.html

Sorry, comments are closed for this article.