Class: Spec::Ui::ScreenshotFormatter
- Inherits:
-
Runner::Formatter::HtmlFormatter
- Object
- Runner::Formatter::HtmlFormatter
- Spec::Ui::ScreenshotFormatter
- Defined in:
- lib/spec/ui/formatter.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#extra_failure_content(failure) ⇒ Object
4 5 6 |
# File 'lib/spec/ui/formatter.rb', line 4 def extra_failure_content(failure) super + " <div><a href=\"images/#{current_example_number}.png\"><img width=\"25%\" height=\"25%\" src=\"images/#{current_example_number}.png\"></a></div>\n" end |