summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/code_objects.rb
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@rimspace.net>2011-03-02 21:54:40 -0800
committerDaniel Pittman <daniel@rimspace.net>2011-03-03 16:29:07 -0800
commit6b8f1b724d08e62af6fcf6a2ea55d72b74876de3 (patch)
tree642026e4b9db04b426e76d3f2d852eb7f54f9020 /lib/puppet/util/rdoc/code_objects.rb
parent7c9f1b803d86ead714ff90770e0ccc87ab29efbc (diff)
downloadpuppet-6b8f1b724d08e62af6fcf6a2ea55d72b74876de3.tar.gz
puppet-6b8f1b724d08e62af6fcf6a2ea55d72b74876de3.tar.xz
puppet-6b8f1b724d08e62af6fcf6a2ea55d72b74876de3.zip
(#6582) add fixture helper methods to replace unit test code.
We validate that fixtures exist, when requested, or that they match something when they use a glob. This catches internal errors where we don't match any fixtures with a glob; this can reveal problems that would otherwise avoid all assertions and result in internal failures. The code is hidden out in a module, included in the main RSpec namespace. This doesn't clean up the API any, but it isolates the code more effectively and keeps the configuration file cleaner. Reviewed-By: Nick Lewis <nick@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions