Method: Wukong::SpecHelpers::IntegrationTests#have_stderr
- Defined in:
- lib/wukong/spec_helpers/integration_tests.rb
#have_stderr(*expectations) ⇒ Object
Checks that each expectation appears in the STDERR of the
command. Order is irrelevant and each expectation can be
either a String to check for inclusion or a Regexp to match
with.
85 86 87 |
# File 'lib/wukong/spec_helpers/integration_tests.rb', line 85 def have_stderr *expectations StderrMatcher.new(*expectations) end |