Skip to content

Commit

Permalink
Merge pull request #771 from mmukherjee/master
Browse files Browse the repository at this point in the history
updated the example so as to make it a working example
  • Loading branch information
tas50 committed Oct 11, 2016
2 parents 72f766f + 511966e commit fbf31fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -54,7 +54,7 @@ the associated ChefSpec test might look like:
require 'chefspec'

describe 'example::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 foo' do
expect(chef_run).to install_package('foo')
Expand Down

0 comments on commit fbf31fd

Please sign in to comment.