summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/validate_bool.rb
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2011-06-03 11:41:20 -0700
committerJeff McCune <jeff@puppetlabs.com>2011-06-03 11:41:20 -0700
commit20b6c24186b6dd9d3d81524499b80f26b1c6c8eb (patch)
treeace4fe1e49dc7460c2f9623f38ec2ac791cdf576 /lib/puppet/parser/functions/validate_bool.rb
parentb9f1bb6a63c5c06ce5b4e147dbca4ef505f02a25 (diff)
Add spec test for validate_bool function
This is an interesting spec test for module developers. It illustrates how to cause Puppet to test the function from the Puppet DSL rather than the Ruby DSL, fully exercising the system from the perspective of the end user. (Note how Puppet[:code] is set, then the scope reset, then the compile method called.) Paired-with: Dan Bode <dan@puppetlabs.com>
Diffstat (limited to 'lib/puppet/parser/functions/validate_bool.rb')
0 files changed, 0 insertions, 0 deletions