Webrat step to go to view

I am trying to make webrat step just go to /controller/view url .
I have the following, but it takes a full URL. How can I make it to
take only the relative path containing only /controller/view. Thanks.

When /^I open (.+)$/ do |url|
visit url

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