Sha256: 5fd0ec4dc43ae446c7203ef413088fc21a695e5fa895b8e4be34a543f374d99f

Contents?: true

Size: 463 Bytes

Versions: 4

Compression:

Stored size: 463 Bytes

Contents

#
# Cookbook Name:: <%= 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
      chef_run # This should not raise an error
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chef-dk-0.5.1 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-0.5.0 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-0.5.0.rc.1 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-0.4.0 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb