module BlueShell::Matchers

Public Instance Methods

exit_with(expected_code)
Alias for: have_exited_with
have_exit_code(expected_code)
Alias for: have_exited_with
have_exited_with(expected_code) click to toggle source
# File lib/blue-shell/matchers.rb, line 9
def have_exited_with(expected_code)
  ExitCodeMatcher.new(expected_code)
end
Also aliased as: have_exit_code, exit_with
have_output(expected_output)
Alias for: say
say(expected_output) click to toggle source
# File lib/blue-shell/matchers.rb, line 3
def say(expected_output)
  OutputMatcher.new(expected_output)
end
Also aliased as: have_output