summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authordanielsdeleo <dan@opscode.com>2013-11-04 11:29:30 -0800
committerdanielsdeleo <dan@opscode.com>2013-11-04 11:29:30 -0800
commited33d34fec6ed1bf2400500f4330a7fb4fb871cb (patch)
treef8f3f90b96ad7eb65fae5e164ae70bb58cf05e68 /spec
parent4ff2d130c3d6e68a30340175b5ce0b164ce26220 (diff)
downloadmixlib-shellout-ed33d34fec6ed1bf2400500f4330a7fb4fb871cb.tar.gz
Add termination info to error messages
If no logger is configured, we still want to inform the user that the process was killed (and how).
Diffstat (limited to 'spec')
-rw-r--r--spec/mixlib/shellout_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mixlib/shellout_spec.rb b/spec/mixlib/shellout_spec.rb
index fa0ee51..71ecfef 100644
--- a/spec/mixlib/shellout_spec.rb
+++ b/spec/mixlib/shellout_spec.rb
@@ -869,7 +869,7 @@ describe Mixlib::ShellOut do
let(:logger) { Logger.new(log_output) }
let(:options) { {:timeout => 1, :logger => logger} }
- it "should log messages about killing the child process", :focus do
+ it "should log messages about killing the child process" do
# note: let blocks don't correctly memoize if an exception is raised,
# so can't use executed_cmd
lambda { shell_cmd.run_command}.should raise_error(Mixlib::ShellOut::CommandTimeout)