Sha256: 668f5f30fc82fd32f76fdb6cb65814da052ec9be71e165cd01d71395c0c23ee1

Contents?: true

Size: 296 Bytes

Versions: 4

Compression:

Stored size: 296 Bytes

Contents

require 'hexp'
require 'rspec/its'

RSpec::Matchers.define :dom_eq do |other_dom|
  match do |dom|
    Hexp::Nokogiri::Equality.new(dom, other_dom).call
  end
end

RSpec.configure do |configuration|
  configuration.mock_with :rspec do |configuration|
    configuration.syntax = :expect
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hexp-0.4.3 spec/shared_helper.rb
hexp-0.4.2 spec/shared_helper.rb
hexp-0.4.1 spec/shared_helper.rb
hexp-0.4.0.beta1 spec/shared_helper.rb