Re: [rspec-users] How to test a controller

2008-10-17 Thread Mano ah
Steph I sucessfully wrote my first test -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] How to test a controller

2008-10-16 Thread Mano ah
Thank you stephen. Though it is easy to write spec for controller something stoped me like I am proceeding the wrong way. Your words gives confidence. so let me try and get back to you. -- Posted via http://www.ruby-forum.com/. ___ rspec-users maili

Re: [rspec-users] How to test a controller

2008-10-16 Thread Stephen Eley
On Fri, Oct 17, 2008 at 1:35 AM, Mano ah <[EMAIL PROTECTED]> wrote: > I want to test the controllers of an existing project. How can i do it. > > Actually when I use ruby script/spec rspec_scaffold modelname it > creates a spec controller for that model and a controller inside the app > folder. T

[rspec-users] How to test a controller

2008-10-16 Thread Mano ah
I want to test the controllers of an existing project. How can i do it. Actually when I use ruby script/spec rspec_scaffold modelname it creates a spec controller for that model and a controller inside the app folder. So for testing an already existing project how should i proceed. -- Posted vi