Class: ApprovalTests::Reporters::VimdiffReporter
- Inherits:
-
DiffReporter
- Object
- DiffReporter
- ApprovalTests::Reporters::VimdiffReporter
- Defined in:
- lib/approval_tests/reporters/vimdiff_reporter.rb
Class Method Summary collapse
Methods inherited from DiffReporter
#approved_when_reported, #initialize, #report
Constructor Details
This class inherits a constructor from ApprovalTests::Reporters::DiffReporter
Class Method Details
.default_launcher ⇒ Object
6 7 8 9 10 |
# File 'lib/approval_tests/reporters/vimdiff_reporter.rb', line 6 def self.default_launcher lambda { |app, rec| "echo '#!/bin/sh' > /tmp/reporter.command; echo 'vimdiff #{rec} #{app}' > /tmp/reporter.command; chmod +x /tmp/reporter.command; open /tmp/reporter.command" } end |