Sha256: a249acc5b67853aa9f1406df41fe9a9a48b6825518d1ef74ad35e5b26e8b1c27
Contents?: true
Size: 265 Bytes
Versions: 4
Compression:
Stored size: 265 Bytes
Contents
RSpec::Matchers.define :have_xpath do |xpath| match { |document| !document.xpath(xpath).empty? } failure_message { "expected document to have xpath #{xpath.inspect}"} failure_message_when_negated { "expected document to not have xpath #{xpath.inspect}"} end
Version data entries
4 entries across 4 versions & 1 rubygems