Chris Olsen
2007-Oct-16 02:44 UTC
[rspec-users] generate script_controller not creating test code
For some reason when I ran it this time it decided not to create any view or controller tests. I had already created the corresponding model with the rpsec_model script before trying to create the controller. I am not sure if there is something that I did incorrectly or not. Does anyone know why this is happening? Thanks -- Posted via http://www.ruby-forum.com/.
Steve
2007-Oct-16 03:01 UTC
[rspec-users] generate script_controller not creating test code
On Tue, 16 Oct 2007 04:44:55 +0200, Chris Olsen wrote:> For some reason when I ran it this time it decided not to create any > view or controller tests. I had already created the corresponding model > with the rpsec_model script before trying to create the controller. I > am not sure if there is something that I did incorrectly or not. > > Does anyone know why this is happening? > > ThanksDid you do "generate rspec_controller" or "generate script_controller" like the subject indicates? Steve
Chris Olsen
2007-Oct-16 03:06 UTC
[rspec-users] generate script_controller not creating test code
please disregard this post. I got a little a head of myself and forgot that they were only created with the rspec_scaffold script. -- Posted via http://www.ruby-forum.com/.
Chris Olsen
2007-Oct-16 03:08 UTC
[rspec-users] generate script_controller not creating test code
Steve wrote:> On Tue, 16 Oct 2007 04:44:55 +0200, Chris Olsen wrote: > >> For some reason when I ran it this time it decided not to create any >> view or controller tests. I had already created the corresponding model >> with the rpsec_model script before trying to create the controller. I >> am not sure if there is something that I did incorrectly or not. >> >> Does anyone know why this is happening? >> >> Thanks > > Did you do "generate rspec_controller" or "generate script_controller" > like the subject indicates? > > Steveoops, the subject was written incorrectly. All is good now though. Thanks for the quick reply though. -- Posted via http://www.ruby-forum.com/.