This should be standard rspec testing - since the class is standalone (so I don't think you'll need special rspec-puppet testing or whatever). Have you done rspec testing before?