lib/percy.rb in percy-capybara-4.1.1 vs lib/percy.rb in percy-capybara-4.2.0
- old
+ new
@@ -127,9 +127,10 @@
def self._keys_to_json(options)
{
enable_javascript: :enableJavaScript,
min_height: :minHeight,
percy_css: :percyCSS,
+ request_headers: :requestHeaders,
}.each do |ruby_key, json_key|
if options.has_key? ruby_key
options[json_key] = options[ruby_key]
options.delete(ruby_key)
end