Sha256: f969ace9f531eeabad5d13f9d28945cfde1dcf4a82a9d257df0b31f92f5b9a85

Contents?: true

Size: 595 Bytes

Versions: 7

Compression:

Stored size: 595 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 :enabled
      self.enabled = true
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
capybara-screenshot-diff-0.5.3 lib/capybara/screenshot/diff.rb
capybara-screenshot-diff-0.5.2 lib/capybara/screenshot/diff.rb
capybara-screenshot-diff-0.5.1 lib/capybara/screenshot/diff.rb
capybara-screenshot-diff-0.5.0 lib/capybara/screenshot/diff.rb
capybara-screenshot-diff-0.4.0 lib/capybara/screenshot/diff.rb
capybara-screenshot-diff-0.3.0 lib/capybara/screenshot/diff.rb
capybara-screenshot-diff-0.2.1 lib/capybara/screenshot/diff.rb