[Rspec-devel] [ANN] RSpec 0.5.5 on Rails

aslak hellesoy aslak.hellesoy at gmail.com
Tue Jun 6 15:26:35 EDT 2006


Hi there!

I just released RSpec 0.5.5. There are only very minor changes to the
RSpec core, but the big news is Rails support!

The Rails support is based on Lachie Cox' contribution from last week
- it was a Rails plugin. I have now restructured it and packaged it as
a Rubygem instead (separate from the core Rspec gem).

Assuming you already have a Rails app with a properly configured
database, here is how to get started.

gem install rspec_generator
cd my/rails/app
script/generate rspec
script/generate rspec_model account
script/generate rspec_controller account index create
rake migrate
rake spec

The generators will leave some specs failing in order to suck you
right in and make you fix it.

We're having some problems with the website now, so the online docs
are not uptodate. (Nut they should be in Subversion).

Big thanks to Lachie for the code!

Feedback, questions, bugs and fixes(in the Rubyforge tracker please)
is very welcome.

Aslak


More information about the Rspec-devel mailing list