Displaying 2 results from an estimated 2 matches for "some_page".
Did you mean:
home_page
2006 Jun 19
0
url_for missing out parameters?
Having a bit of an issue with url_for
The current page I''m on has a named route as follows:
map.some_page ''page/:id/:range'', :action => ''the_action''
All looks fairly normal. I have an url_for on this page to make a link
to another page as so:
url_for(:controller=>''other'', :action=>''display'', :id=>5,
:range=>'...
2007 May 09
4
UI testing framework? (w/o selenium)
...ge.should_have.at_most.6 :div, :class => "someClassName"
# page.[name_of_form]_form.
page.search_form.submit :name => "California" do
result.status.should_be :success
result.should_have :image, "logo.gif"
result.url.should_contain "some_page.html"
end
page.should_have :div, :class => ''something else''
page.should_have :div, :id => ''foo'', :class => ''bar''
page.should_have ''/div[1]/div[2]/td''
end
test ''/some/url.html?id=35...