Only run Nokogiri spec when parsing with nokogiri

This commit is contained in:
Bryan Helmkamp 2008-11-28 00:14:36 -05:00
parent 334108015f
commit 3744009dd2
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
if defined?(Nokogiri::XML)
if defined?(Nokogiri::XML) && Webrat.configuration.parse_with_nokogiri?
describe "Nokogiri Extension" do
include Webrat::Matchers