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