RSpec Rails 3 generators - first draft

I have just finished creating a working set of Rails 3 compatible
generators for RSpec.

http://github.com/kristianmandrup/rspec_rails3_gen

Also available from gemcutter under the same name: rspec_rails3_gen

They work pretty well, except for the hooks functionality which still
needs some work

hook_for :model, :scaffold, …

I hope to add hook support/integration real soon :wink:

At least this is a start… but perhaps there are already rspec
generators for rails 3 out there?

Kristian

On Fri, Feb 5, 2010 at 10:38 AM, Kristian M. [email protected]
wrote:

hook_for :model, :scaffold, …

I hope to add hook support/integration real soon :wink:

At least this is a start… but perhaps there are already rspec
generators for rails 3 out there?

There are, in the rspec-rails-2.0.0a series (currently a4). They are
borrowed from a lib José Valim had up on his github account (but it’s
not there any longer). They are preliminary at this point, but have a
look and feel free to send patches for anything that’s missing:

gem install rspec-rails --pre

Cheers,
David