[rspec-users] How to use rspec_scaffold generator with latest rspec gem.

Mohnish J. lists at ruby-forum.com
Thu Mar 10 20:14:41 EST 2011


David Chelimsky wrote in post #986732:
> On Mar 10, 2011, at 7:49 AM, Mohnish J. wrote:
>
>> also.
>> Could you please tell me how should I give to accordingly for it to work
>> for me using the above RoR configuration.
>
> rails generate rspec:install
> rails generate scaffold
>
> In Rails 3, once you run the rspec:install generator, the Rails
> generators delegate out to rspec-rails to generate the spec files.
>
> You might also want to check out http://ruby.railstutorial.org/.
>
> Cheers,
> David

Hi David,

Thank you very much for you reply, I now understand that this isn't 
needed anymore with Rails 3. I had in another post on the same forum 
mentioned about one of your blogs:-

http://blog.davidchelimsky.net/2007/05/14/an-introduction-to-rspec-part-i/.

I am unable to find Part 2 of your tutorial. Could you please tell me 
where could I find the same.

Thanks again..:)

-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list