summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-04-28 10:48:24 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-04-28 14:50:12 -0700
commit351b6fc5327baf8f2339fed04c3a8e54280fc394 (patch)
tree27d58386885d13baedacde8efd3e17413a39b234 /lib/puppet
parentf1b7fafd12f1071b940ed507e8394a66b69d8284 (diff)
downloadpuppet-351b6fc5327baf8f2339fed04c3a8e54280fc394.tar.gz
puppet-351b6fc5327baf8f2339fed04c3a8e54280fc394.tar.xz
puppet-351b6fc5327baf8f2339fed04c3a8e54280fc394.zip
maint: add a 'print' matcher to rspec, to inspect std{out,err}
You can now write expectations along the lines of: expect { ... }.to print /whatever/ This will do the expected thing, which is to require that we print something matching that regular expression during the block. The output itself is suppressed during operation of the matcher. Paired-With: Max Martin <max@puppetlabs.com>
Diffstat (limited to 'lib/puppet')
0 files changed, 0 insertions, 0 deletions