Module: JetBlack::RSpec::Matchers

Extended by:
RSpec::Matchers::DSL
Defined in:
lib/jet_black/rspec/matchers.rb

Defined Under Namespace

Classes: HaveStderr, HaveStdout

Instance Method Summary collapse

Instance Method Details

#have_stderr(expected) ⇒ Object



14
15
16
# File 'lib/jet_black/rspec/matchers.rb', line 14

def have_stderr(expected)
  HaveStderr.new(expected)
end

#have_stdout(expected) ⇒ Object



10
11
12
# File 'lib/jet_black/rspec/matchers.rb', line 10

def have_stdout(expected)
  HaveStdout.new(expected)
end