Sha256: 4e24d82e465df7a5af19d3c8ea077f49c7b68dcd5079e1e412fefd333b1d9e9f

Contents?: true

Size: 617 Bytes

Versions: 5

Compression:

Stored size: 617 Bytes

Contents

# frozen_string_literal: true

require 'nokogiri'

require 'pathname'
require 'forwardable'
require 'tempfile'

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

# 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.3.5 lib/rspec_html.rb
rspec-html-0.3.4 lib/rspec_html.rb
rspec-html-0.3.3 lib/rspec_html.rb
rspec-html-0.3.2 lib/rspec_html.rb
rspec-html-0.3.1 lib/rspec_html.rb