diff options
author | Adrien Thebo <git@somethingsinistral.net> | 2013-02-12 10:20:22 -0800 |
---|---|---|
committer | Adrien Thebo <git@somethingsinistral.net> | 2013-02-12 10:20:22 -0800 |
commit | 36a7b29630a4d4de17af79b5dd4e9491ec20b123 (patch) | |
tree | 5aaf8094fb3f3933ed3677efb6401bb8a4ff676c /spec/unit/puppet/parser/functions | |
parent | 15266d9b44aea29b7838186818fd88ad2f59faf9 (diff) | |
parent | 69248dfd8ab09f6d78054d10c7162bb18ec040e5 (diff) | |
download | puppet-stdlib-36a7b29630a4d4de17af79b5dd4e9491ec20b123.tar.gz puppet-stdlib-36a7b29630a4d4de17af79b5dd4e9491ec20b123.tar.bz2 |
Merge branch 'pull-126'
Diffstat (limited to 'spec/unit/puppet/parser/functions')
-rw-r--r-- | spec/unit/puppet/parser/functions/validate_cmd_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/puppet/parser/functions/validate_cmd_spec.rb b/spec/unit/puppet/parser/functions/validate_cmd_spec.rb index 0730a59..69ea7f4 100644 --- a/spec/unit/puppet/parser/functions/validate_cmd_spec.rb +++ b/spec/unit/puppet/parser/functions/validate_cmd_spec.rb @@ -74,7 +74,7 @@ describe Puppet::Parser::Functions.function(:validate_cmd) do describe "Test output message" do it "validate_cmd('whatever', 'kthnksbye') should fail" do - expect { subject.call ['whatever', 'kthnksbye'] }.to raise_error /kthnksbye.*not found/ + expect { subject.call ['whatever', 'kthnksbye'] }.to raise_error /kthnksbye.* returned 1/ end end end |