]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Make sure functions are loaded for each test
authorPatrick Carlisle <patrick@puppetlabs.com>
Thu, 9 Aug 2012 21:33:10 +0000 (14:33 -0700)
committerPatrick Carlisle <patrick@puppetlabs.com>
Thu, 9 Aug 2012 21:51:37 +0000 (14:51 -0700)
commit424b56da616041e365cb471dafc05a3d7ade4e45
treed48e512f3b7cfd83b619e8cdcf080003758b2937
parent94c96f80359a2997bc70a1e1918ddfea795d754a
Make sure functions are loaded for each test

The test_helper code in Puppet now resets function state between each test.
This patch fixes two spec files where the function was not actually loaded in
the tests, causing them to fail.
spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb
spec/unit/puppet/parser/functions/validate_re_spec.rb