summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppetlabs.com>2014-03-18 16:18:53 -0700
committerHunter Haugen <hunter@puppetlabs.com>2014-03-18 16:18:53 -0700
commitaedb89d91fe6737b3ed7acc0aa72c9a2fa56cd45 (patch)
tree9cefab4ff6e6a33c84482e11e0fae929018303db /spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb
parent085a0564428d49a027af0fc224fb4019fba54862 (diff)
parent904f1a003e790ba2afaf3452ecda9805e87d80d0 (diff)
downloadpuppet-stdlib-aedb89d91fe6737b3ed7acc0aa72c9a2fa56cd45.tar.gz
puppet-stdlib-aedb89d91fe6737b3ed7acc0aa72c9a2fa56cd45.tar.bz2
Merge branch '3.x' into 4.x
Diffstat (limited to 'spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb')
-rw-r--r--spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb b/spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb
index 08aaf78..1c9cce2 100644
--- a/spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb
+++ b/spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb
@@ -35,7 +35,7 @@ describe Puppet::Parser::Functions.function(:validate_absolute_path) do
end
valid_paths.each do |path|
it "validate_absolute_path(#{path.inspect}) should not fail" do
- expect { subject.call [path] }.not_to raise_error Puppet::ParseError
+ expect { subject.call [path] }.not_to raise_error
end
end
end
@@ -43,7 +43,7 @@ describe Puppet::Parser::Functions.function(:validate_absolute_path) do
context "Puppet without mocking" do
valid_paths.each do |path|
it "validate_absolute_path(#{path.inspect}) should not fail" do
- expect { subject.call [path] }.not_to raise_error Puppet::ParseError
+ expect { subject.call [path] }.not_to raise_error
end
end
end