Commit dfd6f6f4 authored by Tim Smith's avatar Tim Smith
Browse files

Update chefspecs


Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent 75180e4d
require 'spec_helper'
describe 'chef-sugar::default' do
let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
let(:chef_run) { ChefSpec::SoloRunner.new(platform: 'ubuntu', version: '16.04').converge(described_recipe) }
it 'installs the chef gem' do
expect(chef_run).to install_chef_gem('chef-sugar')
.with(version: Chef::Sugar::VERSION)
it 'converges successfully' do
expect { :chef_run }.to_not raise_error
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment