Sha256: 2ec1356690af61c0c2568049303141c659bb5952aadb33e98ac53fe488f58b70

Contents?: true

Size: 822 Bytes

Versions: 25

Compression:

Stored size: 822 Bytes

Contents

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

require 'spec_helper'

describe '<%= cookbook_name %>::<%= recipe_name %>' do
  context 'When all attributes are default, on Ubuntu 18.04' do
    # for a complete list of available platforms and versions see:
    # https://github.com/chefspec/fauxhai/blob/master/PLATFORMS.md
    platform 'ubuntu', '18.04'

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

  context 'When all attributes are default, on CentOS 7' do
    # for a complete list of available platforms and versions see:
    # https://github.com/chefspec/fauxhai/blob/master/PLATFORMS.md
    platform 'centos', '7'

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

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
chef-dk-4.13.3 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-4.12.0 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-4.11.0 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-4.10.0 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-4.9.7 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-2.0.10 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-4.7.73 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-3.13.1 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-4.6.35 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-3.12.10 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-3.12.0 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-4.5.0 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-2.0.0 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-4.4.27 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-1.0.16 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-1.0.14 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-1.0.13 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-dk-4.3.13 lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-1.0.11 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-1.0.9 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb