module Capybara::Screenshot::RSpec::JsonReporter
Public Instance Methods
format_example_with_screenshot(example)
click to toggle source
# File lib/capybara-screenshot/rspec/json_reporter.rb, line 11 def format_example_with_screenshot(example) format_example_without_screenshot(example).merge({ screenshot: example.metadata[:screenshot] }) end