Sha256: e1af9ce9e9939c8c25b73ac53e7ed54c434a050cd3f876c1d609a9751d6abe31

Contents?: true

Size: 496 Bytes

Versions: 8

Compression:

Stored size: 496 Bytes

Contents

# frozen_string_literal: true

require 'nokogiri'

require 'pathname'
require 'forwardable'

require 'rspec_html/tags'
require 'rspec_html/element'
require 'rspec_html/search'
require 'rspec_html/reconstituted_element'
require 'rspec_html/matchers'

# Support module for rspec/html
module RSpecHTML
  class Error < StandardError; end
  class NoResponseError < Error; end

  def self.root
    Pathname.new(__dir__).parent
  end
end

RSpec.configure { |config| config.include RSpecHTML::Matchers }

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rspec-html-0.2.15 lib/rspec_html.rb
rspec-html-0.2.14 lib/rspec_html.rb
rspec-html-0.2.13 lib/rspec_html.rb
rspec-html-0.2.12 lib/rspec_html.rb
rspec-html-0.2.11 lib/rspec_html.rb
rspec-html-0.2.10 lib/rspec_html.rb
rspec-html-0.2.9 lib/rspec_html.rb
rspec-html-0.2.8 lib/rspec_html.rb