Class: ApprovalTests::Reporters::TortoisediffReporter

Inherits:
DiffReporter
  • Object
show all
Defined in:
lib/approval_tests/reporters/tortoisediff_reporter.rb

Constant Summary collapse

TORTOISE_BIN =
'C:\\Program Files\\TortoiseSVN\\bin\\TortoiseMerge.exe'

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_launcherObject



8
9
10
11
12
# File 'lib/approval_tests/reporters/tortoisediff_reporter.rb', line 8

def self.default_launcher
  lambda { |app, rec|
    system("#{TORTOISE_BIN} #{rec} #{app}")
  }
end