lib/capybara/screenshot/diff.rb in capybara-screenshot-diff-0.5.3 vs lib/capybara/screenshot/diff.rb in capybara-screenshot-diff-0.6.0
- old
+ new
@@ -15,10 +15,10 @@
enabled || (enabled.nil? && Diff.enabled)
end
# Module to track screen shot changes
module Diff
- mattr_accessor :enabled
- self.enabled = true
+ mattr_accessor :color_distance_limit
+ mattr_accessor(:enabled) { true }
end
end
end