rodjek/rspec-puppet — pull request #64 by jeffersongirao (2012-11-26 18:38:20+00:00)
Title: and_return(false) has been evaluated as no "and_return" expectation

Being explicit when checking for nil solves the issue