jnicklas/capybara — Issue #630: Undefined method `axis' for XPath:Module
Author: incorvia
Created: 2012-02-01 17:24:45+00:00
State: open

My test for a URL is passing as:

page.should have_link('Popular')

but when I change it to:

page.should have_link('Popular', :href => '/')

it fails saying:

Failure/Error: page.should have_link('Popular', :href => '/')
NoMethodError:
undefined method `axis' for XPath:Module

I'm using Capybara with Capybara-Webkit driver from thoughtbot.. am I doing something wrong?