Kristian Mandrup
2010-Feb-05 16:38 UTC
[rspec-users] 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 ;) At least this is a start.... but perhaps there are already rspec generators for rails 3 out there? Kristian
David Chelimsky
2010-Feb-05 22:17 UTC
[rspec-users] RSpec Rails 3 generators - first draft
On Fri, Feb 5, 2010 at 10:38 AM, Kristian Mandrup <kmandrup at gmail.com> wrote:> 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 ;) > > 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 http://github.com/rspec/rspec-rails Cheers, David> > Kristian > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >