Open MattSurabian opened 9 years ago
Here's a matcher that I wrote for grunt_cookbook_npm --
def grunt_cookbook_npm(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:grunt_cookbook_npm, :install, resource_name)
end
Thanks for this @elijah I've still got to setup a test harness and everything. I wrote this when I used Chef all the time but that hasn't been the case in a couple of years now so it's harder to find the time to setup everything. Once I do so I'll be sure to include this. Thanks again.
These days I'm not using Chef everyday. If this repo had tests I wouldn't have to wonder if it was still functioning as expected. Ideally tests would run in travis and the README would include a build passing badge.