diff --git a/lib/capybara/spec/driver.rb b/lib/capybara/spec/driver.rb index 1e2465c0..62f067e1 100644 --- a/lib/capybara/spec/driver.rb +++ b/lib/capybara/spec/driver.rb @@ -40,11 +40,8 @@ shared_examples_for 'driver' do end it "should extract node attributes" do - @driver.find('//a')[0][:href].should == '/with_simple_html' @driver.find('//a')[0][:class].should == 'simple' - @driver.find('//a')[1][:href].should == '/foo' @driver.find('//a')[1][:id].should == 'foo' - @driver.find('//a')[1][:rel].should be_nil end it "should extract boolean node attributes" do