Sha256: 9150b40b9c43a8d7fac25b06b2fc3d330543db1cf9ca1e347f650e2cda901774
Contents?: true
Size: 316 Bytes
Versions: 5
Compression:
Stored size: 316 Bytes
Contents
# frozen_string_literal: true 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
5 entries across 5 versions & 1 rubygems