MattSurabian / grunt_cookbook

This is a cookbook that can be used to install and run grunt tasks from within chef.
9 stars 4 forks source link

Can Has Tests? #5

Open MattSurabian opened 9 years ago

MattSurabian commented 9 years ago

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.

elijah commented 8 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
MattSurabian commented 8 years ago

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.