Sha256: 4e07cc5be87bc93e8fe23accc3827c3b79353f5adfc92ff7fe43a63e0b0a99e3

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

# encoding: utf-8

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 |rspec|
  rspec.mock_with :rspec do |configuration|
    configuration.syntax = :expect
  end
  rspec.around(:each) do |example|
    Timeout.timeout(1, &example)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hexp-0.4.6 spec/spec_helper.rb
hexp-0.4.5 spec/spec_helper.rb