diff options
author | Luke Kanies <luke@puppetlabs.com> | 2011-04-12 23:54:08 -0700 |
---|---|---|
committer | Luke Kanies <luke@puppetlabs.com> | 2011-04-14 17:07:39 -0700 |
commit | e424740d78b8b72dc6bd7ebbbe27b237347d67f5 (patch) | |
tree | 9f2afddc64f32990f298689e327ac05fcb2b4719 /lib/puppet/interface/documentation.rb | |
parent | f37b2e106ed171042c94a1a0b8fd31a254a69588 (diff) | |
download | puppet-e424740d78b8b72dc6bd7ebbbe27b237347d67f5.tar.gz puppet-e424740d78b8b72dc6bd7ebbbe27b237347d67f5.tar.xz puppet-e424740d78b8b72dc6bd7ebbbe27b237347d67f5.zip |
Adding json-specific matchers
These make the JSON tests much easier to read and
write. They're the first custom matchers that I can
find, so they're breaking a bit of new ground,
but the JSON tests were pretty hard to read
and there was a lot of duplication, so it seemed
worth it.
Note that for some reason they're not working on
Facts - it seems to get immediately turned into
a full instance by the JSON parsing subsystem,
and I've no idea why.
Reviewed-by: Daniel Pittman <daniel@puppetlabs.com>
Signed-off-by: Luke Kanies <luke@puppetlabs.com>
Diffstat (limited to 'lib/puppet/interface/documentation.rb')
0 files changed, 0 insertions, 0 deletions