Sha256: d3c74b78d60f1809883805de508136340b846f1279776f296d1c249407b1065e

Contents?: true

Size: 452 Bytes

Versions: 3

Compression:

Stored size: 452 Bytes

Contents

#
# Cookbook:: <%= cookbook_name %>
# Spec:: default
#
<%= license_description('#') %>

require 'spec_helper'

describe '<%= cookbook_name %>::<%= recipe_name %>' do
  context 'When all attributes are default, on an unspecified platform' do
    let(:chef_run) do
      runner = ChefSpec::ServerRunner.new
      runner.converge(described_recipe)
    end

    it 'converges successfully' do
      expect { chef_run }.to_not raise_error
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chef-dk-1.2.22 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-1.2.20 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-1.1.16 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb