Skip to content

Instantly share code, notes, and snippets.

@charlesjohnson
Last active December 25, 2015 17:29
Show Gist options
  • Save charlesjohnson/7013731 to your computer and use it in GitHub Desktop.
Save charlesjohnson/7013731 to your computer and use it in GitHub Desktop.
source 'https://rubygems.org'
gem 'berkshelf', '~> 2.0'
gem 'chefspec', '~> 2.0'
gem 'foodcritic', '~> 2.2'
gem 'rubocop', '~> 0.12'
group :integration do
gem 'test-kitchen', '~> 1.0.0.beta'
gem 'kitchen-vagrant', '~> 0.11'
end
require 'chefspec'
describe 'myface::default' do
let (:chef_run) { ChefSpec::ChefRunner.new.converge 'myface::default' }
# Check to make sure the user is created
it 'Creates a service account for the myface daemon' do
expect(chef_run).to create_user 'myface'
end
end
@pyn
Copy link

pyn commented Oct 16, 2013

uhh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment