Re: [rspec-users] [webrat] click link by title doesn't work

2009-03-14 Thread Andrew Premdas
Doh!, thanks alot :). 2009/3/14 Balint Erdi > Andrew Premdas wrote: > > > > > When /^I follow view (\w+) details link$/ do |object| > > click_link "#{object}_details}" > > end > > I think the problem is that you have an extra } in the title of the link > you are looking for. It should just be:

Re: [rspec-users] [webrat] click link by title doesn't work

2009-03-14 Thread Balint Erdi
Andrew Premdas wrote: > > When /^I follow view (\w+) details link$/ do |object| > click_link "#{object}_details}" > end I think the problem is that you have an extra } in the title of the link you are looking for. It should just be: When /^I follow view (\w+) details link$/ do |object| cli