lib/capybara/screenshot_config.rb in capybara-screenshot_config-0.0.1.beta vs lib/capybara/screenshot_config.rb in capybara-screenshot_config-0.0.1

- old
+ new

@@ -18,10 +18,10 @@ # monkey patching Capybara::Session#save_screenshot class Session alias_method :old_save_screenshot, :save_screenshot def save_screenshot(path, options={}) - # TODO: merge options + options = ScreenshotConfig.configuration.options.merge(options) old_save_screenshot("#{ScreenshotConfig.configuration.save_dir}/#{path}", options) end end end