Module: Capybara::Screenshot::RSpec::JsonReporter
- Extended by:
- BaseReporter
- Defined in:
- lib/capybara-screenshot/rspec/json_reporter.rb
Instance Method Summary collapse
Methods included from BaseReporter
Instance Method Details
#format_example_with_screenshot(example) ⇒ Object
11 12 13 14 15 |
# File 'lib/capybara-screenshot/rspec/json_reporter.rb', line 11 def format_example_with_screenshot(example) format_example_without_screenshot(example).merge({ screenshot: example.[:screenshot] }) end |