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