Sha256: 8ff25ddea9b36096d4b1baac8476d54f4aad2a005323a737296eae9ba47e5ea3

Contents?: true

Size: 818 Bytes

Versions: 13

Compression:

Stored size: 818 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/main/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/main/PLATFORMS.md
    platform 'centos', '8'

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
chef-cli-5.6.16 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.6.14 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.6.13 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.6.12 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.6.11 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.6.8 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.6.1 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.6.0 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.5.6 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.5.5 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.5.4 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.5.0 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb
chef-cli-5.4.2 lib/chef-cli/skeletons/code_generator/templates/default/recipe_spec.rb.erb