summaryrefslogtreecommitdiffstats
path: root/spec/unit/application
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/application')
-rwxr-xr-xspec/unit/application/facts_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/application/facts_spec.rb b/spec/unit/application/facts_spec.rb
index aed042675..2981dc805 100755
--- a/spec/unit/application/facts_spec.rb
+++ b/spec/unit/application/facts_spec.rb
@@ -11,8 +11,8 @@ describe Puppet::Application::Facts do
subject.command_line.stubs(:args).returns %w{find}
expect {
expect { subject.run }.to exit_with 1
- }.to have_printed /1 argument expected but 0 given/
- @logs.first.to_s.should =~ /1 argument expected but 0 given/
+ }.to have_printed /err: puppet facts find takes 1 argument, but you gave 0/
+ @logs.first.to_s.should =~ /puppet facts find takes 1 argument, but you gave 0/
end
it "should return facts if a key is given to find" do