Sha256: 18dd71291eefe1ebdfec29a4775f9fa12886cd9d55376715f1a75862954e8f0f

Contents?: true

Size: 622 Bytes

Versions: 1

Compression:

Stored size: 622 Bytes

Contents

require 'capybara/screenshot/diff/version'
require 'capybara/screenshot/diff/image_compare'
require 'capybara/screenshot/diff/capybara_setup'

module Capybara
  module Screenshot
    mattr_accessor :add_driver_path
    mattr_accessor :add_os_path
    mattr_accessor :enabled
    mattr_accessor :screenshot_root
    mattr_accessor :stability_time_limit
    mattr_accessor :window_size

    def self.active?
      enabled || (enabled.nil? && Diff.enabled)
    end

    # Module to track screen shot changes
    module Diff
      mattr_accessor :color_distance_limit
      mattr_accessor(:enabled) { true }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capybara-screenshot-diff-0.6.0 lib/capybara/screenshot/diff.rb