I am wanting to specify “Then I should not see a “New item” link” in a
cucumber scenario. Is it possible to use Webrat::Locators.find_link (as
in click_link) in a cucumber step definition? Or is there some reason
shouldn’t assert the absence of a link? I could just use
but I want to make sure it’s a link that it’s looking for, as the text
happen to appear elsewhere in the middle of a sentance.