Module: Capybara::Screenshot::RSpec::TextMateLinkReporter

Extended by:
BaseReporter
Includes:
HtmlLinkReporter
Defined in:
lib/capybara-screenshot/rspec/textmate_link_reporter.rb

Instance Method Summary collapse

Methods included from BaseReporter

enhance_with_screenshot

Methods included from HtmlLinkReporter

#extra_failure_content_with_screenshot, #link_to_screenshot

Instance Method Details



13
14
15
# File 'lib/capybara-screenshot/rspec/textmate_link_reporter.rb', line 13

def attributes_for_screenshot_link(url)
  super.merge("onclick" => "TextMate.system('open #{Shellwords.escape(url)}'); return false;")
end