Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can Has Tests? #5

Open
MattSurabian opened this issue Jul 1, 2015 · 2 comments
Open

Can Has Tests? #5

MattSurabian opened this issue Jul 1, 2015 · 2 comments

Comments

@MattSurabian
Copy link
Owner

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
Copy link

elijah commented May 27, 2016

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
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants