Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimhopp/chefspec_exploration
Figuring out chefspec https://www.relishapp.com/acrmp/chefspec/docs
https://github.com/jimhopp/chefspec_exploration
Last synced: about 2 months ago
JSON representation
Figuring out chefspec https://www.relishapp.com/acrmp/chefspec/docs
- Host: GitHub
- URL: https://github.com/jimhopp/chefspec_exploration
- Owner: jimhopp
- Created: 2012-02-15T15:39:56.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-23T19:25:33.000Z (over 10 years ago)
- Last Synced: 2024-07-27T18:56:26.510Z (about 2 months ago)
- Language: Ruby
- Homepage:
- Size: 159 KB
- Stars: 58
- Watchers: 7
- Forks: 15
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
NOTE: This repo demonstrates chefspec <= 0.9.0. chefspec is now > 3.0. You can use this repo to get an idea of how chefspec works, but to see running code you'll need to use the doc at the chefspec repo.
Demonstrates chefspec, a gem that enables you to write rspec tests for your chef recipes without having to actually run them on a node.
You can learn about chefspec at https://github.com/sethvargo/chefspec
You can learn about RSpec at https://www.relishapp.com/rspec
And of course chef is at http://wiki.opscode.com/display/chef/HomeTo install: clone this repo, install Bundler (gem install bundler), and install the chefspec gems via bundler (bundle install).
To run the tests: "bundle exec rspec cookbooks/mytestcookbook/"