I am using Cucumber / Capybara with Rails 3 and am trying to validate the existence of an image after upload. I\'m not sure how to check the url of the image to validate it.
Yes, but these xpath tests won't deal with the fact that...
/public/images/foo.jpg public/images/foo.jpg http://mydomain.com/public/images/foo.jpg
...are all the same valid link to the image.