Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
cookbooks/mytestcookbook Convert to rspec expect syntax
Gemfile Convert to rspec expect syntax
Gemfile.lock Convert to rspec expect syntax
README.md Update README to point out that chefspec syntax has changed and this …
knife-local.rb

README.md

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/Home

To 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/"

Something went wrong with that request. Please try again.