Displaying 1 result from an estimated 1 matches for "weathershelp".
Did you mean:
weathershelper
2007 Sep 04
7
1.05 to 1.08
...r specs
They work fine in 1.05 but error in 1.08 and it is the calls to route
helper methods that seems to be the problem.
I did some playing around .. because the code being tested is
reasonably large etc ... but this sample (using the peepcode app)
seems to boil down the problem
describe WeathersHelper do
it do
weather = Weather.new
weather.id = 1
weather_path(weather).should == "/weathers/1"
end
end
This passes in 1.05 and throws an exception in 1.08 ... is seems that
the route helper method is not available.
BTW, in our actual code the call to weather_path i...