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 end
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 end