Sha256: bcdaf23a2e7f38abfcb8c78c54b0548cbc69f567a54d3a1683e09d0aae9524ad

Contents?: true

Size: 482 Bytes

Versions: 6

Compression:

Stored size: 482 Bytes

Contents

# # encoding: utf-8

# Inspec test for recipe <%= cookbook_name %>::<%= recipe_name %>

# The Inspec reference, with examples and extensive documentation, can be
# found at https://docs.chef.io/inspec_reference.html

unless os.windows?
  describe user('root') do
    it { should exist }
    skip 'This is an example test, replace with your own test.'
  end
end

describe port(80) do
  it { should_not be_listening }
  skip 'This is an example test, replace with your own test.'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
chef-dk-1.0.3 lib/chef-dk/skeletons/code_generator/templates/default/inspec_default_test.rb.erb
chef-dk-0.19.6 lib/chef-dk/skeletons/code_generator/templates/default/inspec_default_test.rb.erb
chef-dk-0.18.30 lib/chef-dk/skeletons/code_generator/templates/default/inspec_default_test.rb.erb
chef-dk-0.18.26 lib/chef-dk/skeletons/code_generator/templates/default/inspec_default_test.rb.erb
chef-dk-0.17.17 lib/chef-dk/skeletons/code_generator/templates/default/inspec_default_test.rb.erb
chef-dk-0.16.28 lib/chef-dk/skeletons/code_generator/templates/default/inspec_default_test.rb.erb