acrmp/chefspec — pull request #49 by ranjibd (2012-09-19 01:07:51+00:00)
Title: Add support for asserting on notifications

For a recipe containting:
teplate "/etc/nginx/nginx.conf" do
notifies :restart,"service[nginx]"
end
we should be able to assert

chef_run.template('/etc/nginx/nginx.conf').should notify ("service[nginx]",:restart)