Sha256: ce9a8fe67c0a3c9f9877bd30fe44355d297ec3066b6b493dfbe791899bf1728c
Contents?: true
Size: 566 Bytes
Versions: 31
Compression:
Stored size: 566 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '..', '..',"helper")) module Nokogiri module XML class Node class TestSaveOptions < Nokogiri::TestCase SaveOptions.constants.each do |constant| class_eval %{ def test_predicate_#{constant.downcase} options = SaveOptions.new(SaveOptions::#{constant}) assert options.#{constant.downcase}? assert SaveOptions.new.#{constant.downcase}.#{constant.downcase}? end } end end end end end
Version data entries
31 entries across 31 versions & 2 rubygems