Class: ApprovalTests::Reporters::QuietReporter
- Inherits:
-
Object
- Object
- ApprovalTests::Reporters::QuietReporter
- Includes:
- Singleton
- Defined in:
- lib/approval_tests/reporters/quiet_reporter.rb
Instance Method Summary collapse
Instance Method Details
#approved_when_reported ⇒ Object
16 17 18 |
# File 'lib/approval_tests/reporters/quiet_reporter.rb', line 16 def approved_when_reported() false end |
#report(approved, received) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/approval_tests/reporters/quiet_reporter.rb', line 8 def report(approved, received) if RUBY_PLATFORM =~ /mswin32/ puts "move /Y \"#{received}\" \"#{approved}\"" else puts "mv \"#{received}\" \"#{approved}\"" end end |