Module: WIP::Runner::Spec::Helpers::Matchers
- Defined in:
- lib/wip/runner/spec/helpers/matchers.rb
Defined Under Namespace
Classes: ShowMatcher
Instance Method Summary collapse
-
#show(expected, options = {}) ⇒ Object
TODO: fix the following message: expected block to not STDCOMBINED to receive the following content (partial match):, but output “- VARIABLE: |value from ENV|nnecho $VARIABLEnn> value from user”.
Instance Method Details
#show(expected, options = {}) ⇒ Object
TODO: fix the following message: expected block to not STDCOMBINED to receive the following content (partial match):, but output “- VARIABLE: |value from ENV|nnecho $VARIABLEnn> value from user”
6 7 8 9 10 |
# File 'lib/wip/runner/spec/helpers/matchers.rb', line 6 def show(expected, = {}) stream = [:to] || :combined # :to => [:out | :err] match = [:match] || :full # :match => [:full | :partial] ShowMatcher.new(self, strip_heredoc(expected).strip, stream, match) end |