lib/nakal.rb in nakal-1.0.0 vs lib/nakal.rb in nakal-1.0.1
- old
+ new
@@ -10,11 +10,11 @@
module Nakal
class<<self
attr_accessor :device_name, :directory, :platform, :image_location, :default_crop_params
- attr_accessor :diff_screens, :embed_screenshot, :timeout, :image_relative_dir
+ attr_accessor :diff_screens, :embed_screenshot, :timeout, :image_relative_dir, :fuzz
def configure
yield self
end
@@ -36,6 +36,7 @@
config.directory = "baseline_images"
config.default_crop_params = (YAML.load(File.open './config/nakal.yml') rescue {})
config.embed_screenshot = false
config.diff_screens = []
config.timeout = 30
+ config.fuzz = 10
end