summaryrefslogtreecommitdiffstats
path: root/spec/unit/application/inspect_spec.rb
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@rimspace.net>2011-02-18 16:01:00 -0800
committerDaniel Pittman <daniel@rimspace.net>2011-02-18 19:09:07 -0800
commit04501976f898f886b81a67bdf0dabae1ba11571f (patch)
treed980bfeef4b9080f1fa0b6358534b2fab1d097dc /spec/unit/application/inspect_spec.rb
parent85e3174c060bc3bcde352872c83c7183b296b011 (diff)
downloadpuppet-04501976f898f886b81a67bdf0dabae1ba11571f.tar.gz
puppet-04501976f898f886b81a67bdf0dabae1ba11571f.tar.xz
puppet-04501976f898f886b81a67bdf0dabae1ba11571f.zip
(#6126) Puppet inspect now reports status after run completes.
We now emit timing and output a status message at the end of a successful inspect run. Paired-With: Nick Lewis <nick@puppetlabs.com> Signed-Off-By: Daniel Pittman <daniel@puppetlabs.com>
Diffstat (limited to 'spec/unit/application/inspect_spec.rb')
-rwxr-xr-x[-rw-r--r--]spec/unit/application/inspect_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/application/inspect_spec.rb b/spec/unit/application/inspect_spec.rb
index 1d99c6ca9..d334a87ee 100644..100755
--- a/spec/unit/application/inspect_spec.rb
+++ b/spec/unit/application/inspect_spec.rb
@@ -174,7 +174,7 @@ describe Puppet::Application::Inspect do
@inspect.run_command
- @report.logs.count.should == 1
+ @report.logs.first.should_not == nil
@report.logs.first.message.should =~ /Could not back up/
end
end