Created
November 21, 2016 20:00
-
-
Save brettski/e043269e373f40cb5e19b2f4e7ecdce2 to your computer and use it in GitHub Desktop.
The simple, default rspec file I am trying to get to work with Chef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Cookbook Name:: pulse_web | |
# Spec:: default | |
# | |
# Copyright (c) 2016 The Authors, All Rights Reserved. | |
require 'spec_helper' | |
describe 'pulse_web::default' do | |
let(:chef_run) do | |
runner = ChefSpec::ServerRunner.new(platform: 'windows', version: '2012R2') | |
runner.converge(described_recipe) | |
end | |
it 'converges successfully' do | |
expect { chef_run }.to_not raise_error | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment