Sha256: 46c2c212c552a7e79ccb65fe9ebe088d130b63134b4944e851cb4a132882bb7e

Contents?: true

Size: 538 Bytes

Versions: 5

Compression:

Stored size: 538 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
  class ElementNotFoundError < Error; end

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rspec-html-0.2.20 lib/rspec_html.rb
rspec-html-0.2.19 lib/rspec_html.rb
rspec-html-0.2.18 lib/rspec_html.rb
rspec-html-0.2.17 lib/rspec_html.rb
rspec-html-0.2.16 lib/rspec_html.rb