require File.expand_path(File.dirname(__FILE__) + "/../spec_helper") # if defined?(Nokogiri::XML) && Webrat.configuration.parse_with_nokogiri? describe "Nokogiri Extension" do include Webrat::Matchers def fail raise_error(Spec::Expectations::ExpectationNotMetError) end before(:each) do @text_and_password = <<-HTML