I have tried to find a solution by googling and going through a few
pages from this mailing list, but I'm not sure exactly where to look,
being an Rspec/Cucumber newbie.
Despite the controller, model and views all being set up correctly, I
get the following error ....
Could not find link with text or title or id "Create Competiton
Type" (Webrat::NotFoundError)
With the following test ....
When /^I create a new competition type named "([^\"]*)"$/ do |
competition_type|
visit competition_types_path
click_link "Create Competiton Type"
end
Printing competition_types_path during execution just gives me /
competition_types. Does Webrat not require a host name?
I have all gems installed and am going through the RSpec book but
changing things to suit my new project.
Sorry of this is an obvious one but of someone could point me in the
right direction on the web as to where I can learn about this.
CIA
-Ants
--
You received this message because you are subscribed to the Google Groups "Cukes" group.
To post to this group, send email to
cu...@googlegroups.com.
To unsubscribe from this group, send email to
cukes+un...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cukes?hl=en.