diff --git a/lib/sprinkle/verifiers/sh.rb b/lib/sprinkle/verifiers/sh.rb new file mode 100644 index 0000000..7578fcf --- /dev/null +++ b/lib/sprinkle/verifiers/sh.rb @@ -0,0 +1,21 @@ +module Sprinkle + module Verifiers + # = Test Verifier + # + # Checks that a specific shell command exits with zero. + # + # == Example Usage + # + # verify { sh '' } + # + module Sh + Sprinkle::Verify.register(Sprinkle::Verifiers::Sh) + + # Checks to make sure a test runs successfully on the remote server + def sh(args) + @commands << "#{args}" + end + + end + end +end