require 'helper' class TestCapybaraExtensions < Test::Unit::TestCase should "find a node's parent" do html = <<-EOM