#!/bin/sh # Run the Puppet RSpecs.

if [ ā€œ$1ā€ == ā€œ-vā€ ]; then

err_out=/dev/stderr

else

err_out=/dev/null

fi

find spec -name '*_spec.rb' -not -path 'spec/fixtures/*' -print0 |

xargs -0 bundle exec rspec 2>$err_out