I am pulling my hair out trying to expand the testing coverage for an existing Rails 2.3 app.
They are using a unit:test framework. I am really having trouble wrapping my head around how to debug the get
method that appears a lot. Here is an example:
get(:results,
{ # params
:s => "college",
:alt_iframes => iframes_param,
:site_version => ApplicationController::VERSION_GOOGLE.to_i
},
{ # session
:arrival_id => 3,
:arrival_quality => test_quality,
:tid => test_tid,
})
When it works, it is pretty self-evident what is going on. However, when it doesn't work, I have a lot of trouble debugging what is going wrong.
Is there anyway to understand what exact URL a call like this equates to? Or is it possible to make a call of this form instaed get("localhost:3000
").
I am having even finding documentation when I do a google search.