Hello guys, I'm new to watir: I have just discovered it through "Cucumber and Watir 101" screencast ( http://vimeo.com/2871256 ). Right now I'm trying to use it with Cucumber and Rails (as Dave shows in the screencast). Here my question:
is it possible to use Rails routes instead absolute URL? Something like Given /^I am on (.+)$/ do |page_name| BROWSER.goto(path_to(page_name)) end Unfortunately the code above doesn't work: when I run Cucumber the step passes but the browser tries to open 'file:///' Thanks and have a nice day! Sig --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---