summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb
diff options
context:
space:
mode:
authorAshley Penney <ashley.penney@puppetlabs.com>2014-03-05 15:43:58 -0500
committerAshley Penney <ashley.penney@puppetlabs.com>2014-03-08 00:42:51 +0000
commit3854e076ccb75d1bcb1ddd29f5976b194d857765 (patch)
tree2624c5c96549324719fbf6eaca781888d6d4646d /spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb
parentfecb53d46ed9e926973cdf5be1289c1ea71c2f68 (diff)
downloadpuppet-stdlib-3854e076ccb75d1bcb1ddd29f5976b194d857765.tar.gz
puppet-stdlib-3854e076ccb75d1bcb1ddd29f5976b194d857765.tar.bz2
Numerous changes to update testing gems.
This work updates a number of Gems to the latest versions (rspec, rspec-puppet), and updates and tweaks a bunch of tests to work with the updated gems.
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