Routing tests

Hi there,

is there a script/console like program where I can test my routing? IIRC
there is something like that in the agile web dev. with rails book.

Patrick

Patrick G. wrote:

Hi there,

is there a script/console like program where I can test my routing? IIRC
there is something like that in the agile web dev. with rails book.

Maybe this will help :
http://clarkware.com/cgi/blosxom/2006/04/04#HeadlessApp

It lets you run your app “headless” from script/console for example:

app.get “/home”
=> 302

Chris

Hello Chris,

is there a script/console like program where I can test my routing? IIRC
there is something like that in the agile web dev. with rails book.

Maybe this will help :
http://clarkware.com/cgi/blosxom/2006/04/04#HeadlessApp

It lets you run your app “headless” from script/console for example:

app.get “/home”
=> 302

That is exactly what I need. And adding a simple wrapper method makes it
really easy to test.

Thank you very much,

Patrick

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