Class: Boxes::Testing::Matchers::WriteToStdoutMatcher

Inherits:
BaseMatcher
  • Object
show all
Defined in:
lib/boxes/testing/matchers/write_to_stdout_matcher.rb

Constant Summary

Constants inherited from BaseMatcher

BaseMatcher::UNDEFINED

Instance Attribute Summary

Attributes inherited from BaseMatcher

#actual, #expected

Instance Method Summary collapse

Methods inherited from BaseMatcher

#initialize, #matches?

Constructor Details

This class inherits a constructor from Boxes::Testing::Matchers::BaseMatcher

Instance Method Details

#failure_messageObject



7
8
9
# File 'lib/boxes/testing/matchers/write_to_stdout_matcher.rb', line 7

def failure_message
  "expected that '#{clean(actual.stdout)}' would be #{clean(expected)}"
end