On Nov 21, 3:46 pm, Neil Bye <li...@ruby-forum.com> wrote:
> Colin Law wrote in post #962955:
>
> I've attached test_help.rb  Had to go to /vendor/railties/lib to find
> it, is that right?
>
>
>
> > You have not mentioned it but I presume your app runs ok?  If not then
> > post environment.rb also.
>
> Yes it works fine.

My guess is that somewhere in your app you have a ruby script
(probably called index.rb) that expects to be invoked on the command
line with some arguments.When rails loads up your tests it loads
everything in app/models, app/controllers (and probably a few other
places) and ends up loading your index.rb script, which blows up since
it wasn't provided with the arguments it expects.

Fred
>
> Gleble
>
> Attachments:http://www.ruby-forum.com/attachment/5434/test_help.rb
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to