Sha256: 489c4950d827bedb0bed07a99e10813335a4e178cef3908da5930499ad2a769b

Contents?: true

Size: 822 Bytes

Versions: 31

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 20.04' do
    # for a complete list of available platforms and versions see:
    # https://github.com/chefspec/fauxhai/blob/master/PLATFORMS.md
    platform 'ubuntu', '20.04'

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

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

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

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
chef-cli-5.4.1 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.3.1 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.3.0 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.2.0 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.1.0 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.0.1 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-4.0.1 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-4.0.0 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-3.1.6 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-3.1.3 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-3.1.1 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-3.1.0 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-3.0.40 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-3.0.36 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-3.0.35 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-3.0.33 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-3.0.32 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-3.0.31 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-3.0.30 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-3.0.27 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb