target/dse-cookbook — pull request #7 by TD-4242 (2014-12-07 20:59:35+00:00)
Title: Unittests of all recipies

I have added a spec directory and wrote basic unit tests for all code paths with ubuntu 14.04. This is in prep for adding full linting tests with rubocop and foodcritic, Then integration tests with kitchen.

getting the unit testing in place will help with fixing the linting compaints without changing functionality.

I use chef-dk for the development, to run the tests I cd to the dse cookbook directory and run 'chef exec rspec' if you are using a default ruby then you should be able to just run rspec.