lib/percy.rb in percy-capybara-4.0.2 vs lib/percy.rb in percy-capybara-4.1.0
- old
+ new
@@ -115,9 +115,10 @@
# For Ruby style, require snake_case args but transform them into camelCase for percy-agent.
def self._keys_to_json(options)
{
enable_javascript: :enableJavaScript,
min_height: :minHeight,
+ percy_css: :percyCSS,
}.each do |ruby_key, json_key|
if options.has_key? ruby_key
options[json_key] = options[ruby_key]
options.delete(ruby_key)
end