Sha256: c77fb03683c3df2a58a818f00933b17077bb9258810522fc4b43df6142b67fdf

Contents?: true

Size: 510 Bytes

Versions: 2

Compression:

Stored size: 510 Bytes

Contents

require 'percy/capybara/client/builds'
require 'percy/capybara/client/snapshots'

module Percy
  module Capybara
    class Client
      include Percy::Capybara::Client::Builds
      include Percy::Capybara::Client::Snapshots

      class Error < Exception; end
      class BuildNotInitializedError < Error; end
      class WebMockBlockingConnectionsError < Error; end

      attr_reader :client

      def initialize(options = {})
        @client = options[:client] || Percy.client
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
percy-capybara-0.1.2 lib/percy/capybara/client.rb
percy-capybara-0.1.1 lib/percy/capybara/client.rb