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

On Tue, 16 Oct 2007 04:44:55 +0200, Chris O. 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?

Steve

please disregard this post. I got a little a head of myself and forgot
that they were only created with the rspec_scaffold script.

Steve wrote:

On Tue, 16 Oct 2007 04:44:55 +0200, Chris O. 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?

Steve

oops, the subject was written incorrectly. All is good now though.
Thanks for the quick reply though.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs