chefspec 5.2.0 → 5.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/README.md +3 -3
- data/chefspec.gemspec +1 -1
- data/examples/bff_package/recipes/install.rb +13 -0
- data/examples/bff_package/recipes/purge.rb +13 -0
- data/examples/bff_package/recipes/remove.rb +13 -0
- data/examples/bff_package/recipes/upgrade.rb +13 -0
- data/examples/bff_package/spec/install_spec.rb +23 -0
- data/examples/bff_package/spec/purge_spec.rb +19 -0
- data/examples/bff_package/spec/remove_spec.rb +19 -0
- data/examples/bff_package/spec/upgrade_spec.rb +19 -0
- data/examples/homebrew_package/recipes/install.rb +13 -0
- data/examples/homebrew_package/recipes/purge.rb +13 -0
- data/examples/homebrew_package/recipes/remove.rb +13 -0
- data/examples/homebrew_package/recipes/upgrade.rb +13 -0
- data/examples/homebrew_package/spec/install_spec.rb +23 -0
- data/examples/homebrew_package/spec/purge_spec.rb +19 -0
- data/examples/homebrew_package/spec/remove_spec.rb +19 -0
- data/examples/homebrew_package/spec/upgrade_spec.rb +19 -0
- data/examples/launchd/recipes/create.rb +5 -0
- data/examples/launchd/recipes/create_if_missing.rb +3 -0
- data/examples/launchd/recipes/delete.rb +3 -0
- data/examples/launchd/recipes/disable.rb +3 -0
- data/examples/launchd/recipes/enable.rb +3 -0
- data/examples/launchd/spec/create_if_missing_spec.rb +10 -0
- data/examples/launchd/spec/create_spec.rb +14 -0
- data/examples/launchd/spec/delete_spec.rb +10 -0
- data/examples/launchd/spec/disable_spec.rb +10 -0
- data/examples/launchd/spec/enable_spec.rb +10 -0
- data/examples/openbsd_package/recipes/install.rb +13 -0
- data/examples/openbsd_package/recipes/purge.rb +13 -0
- data/examples/openbsd_package/recipes/remove.rb +13 -0
- data/examples/openbsd_package/recipes/upgrade.rb +13 -0
- data/examples/openbsd_package/spec/install_spec.rb +23 -0
- data/examples/openbsd_package/spec/purge_spec.rb +19 -0
- data/examples/openbsd_package/spec/remove_spec.rb +19 -0
- data/examples/openbsd_package/spec/upgrade_spec.rb +19 -0
- data/examples/osx_profile/recipes/install.rb +8 -0
- data/examples/osx_profile/recipes/remove.rb +8 -0
- data/examples/osx_profile/spec/install_spec.rb +15 -0
- data/examples/osx_profile/spec/remove_spec.rb +13 -0
- data/examples/paludis_package/recipes/install.rb +13 -0
- data/examples/paludis_package/recipes/purge.rb +13 -0
- data/examples/paludis_package/recipes/remove.rb +13 -0
- data/examples/paludis_package/recipes/upgrade.rb +13 -0
- data/examples/paludis_package/spec/install_spec.rb +23 -0
- data/examples/paludis_package/spec/purge_spec.rb +19 -0
- data/examples/paludis_package/spec/remove_spec.rb +19 -0
- data/examples/paludis_package/spec/upgrade_spec.rb +19 -0
- data/examples/ruby_block/recipes/create.rb +8 -0
- data/examples/ruby_block/spec/create_spec.rb +13 -0
- data/examples/script/recipes/run_ksh.rb +13 -0
- data/examples/script/spec/run_ksh_spec.rb +23 -0
- data/examples/solaris_package/recipes/upgrade.rb +13 -0
- data/examples/solaris_package/spec/upgrade_spec.rb +19 -0
- data/examples/systemd_unit/recipes/create.rb +3 -0
- data/examples/systemd_unit/recipes/delete.rb +3 -0
- data/examples/systemd_unit/recipes/disable.rb +3 -0
- data/examples/systemd_unit/recipes/enable.rb +3 -0
- data/examples/systemd_unit/recipes/mask.rb +3 -0
- data/examples/systemd_unit/recipes/reload_or_restart.rb +3 -0
- data/examples/systemd_unit/recipes/reload_or_try_restart.rb +3 -0
- data/examples/systemd_unit/recipes/restart.rb +3 -0
- data/examples/systemd_unit/recipes/start.rb +3 -0
- data/examples/systemd_unit/recipes/stop.rb +3 -0
- data/examples/systemd_unit/recipes/try_restart.rb +3 -0
- data/examples/systemd_unit/recipes/unmask.rb +3 -0
- data/examples/systemd_unit/spec/create_spec.rb +10 -0
- data/examples/systemd_unit/spec/delete_spec.rb +10 -0
- data/examples/systemd_unit/spec/disable_spec.rb +10 -0
- data/examples/systemd_unit/spec/enable_spec.rb +10 -0
- data/examples/systemd_unit/spec/mask_spec.rb +10 -0
- data/examples/systemd_unit/spec/reload_or_restart_spec.rb +10 -0
- data/examples/systemd_unit/spec/reload_or_try_restart_spec.rb +10 -0
- data/examples/systemd_unit/spec/restart_spec.rb +10 -0
- data/examples/systemd_unit/spec/start_spec.rb +10 -0
- data/examples/systemd_unit/spec/stop_spec.rb +10 -0
- data/examples/systemd_unit/spec/try_restart_spec.rb +10 -0
- data/examples/systemd_unit/spec/unmask_spec.rb +10 -0
- data/examples/zypper_package/recipes/install.rb +13 -0
- data/examples/zypper_package/recipes/purge.rb +13 -0
- data/examples/zypper_package/recipes/remove.rb +13 -0
- data/examples/zypper_package/recipes/upgrade.rb +13 -0
- data/examples/zypper_package/spec/install_spec.rb +23 -0
- data/examples/zypper_package/spec/purge_spec.rb +19 -0
- data/examples/zypper_package/spec/remove_spec.rb +19 -0
- data/examples/zypper_package/spec/upgrade_spec.rb +19 -0
- data/features/attributes.feature +1 -1
- data/features/bff_package.feature +12 -0
- data/features/chocolatey_package.feature +1 -0
- data/features/compile_time.feature +1 -1
- data/features/dsc_resource.feature +1 -0
- data/features/homebrew_package.feature +12 -0
- data/features/launchd.feature +23 -0
- data/features/openbsd_package.feature +14 -0
- data/features/osx_profile.feature +19 -0
- data/features/paludis_package.feature +14 -0
- data/features/roles.feature +1 -1
- data/features/ruby_block.feature +1 -0
- data/features/script.feature +8 -0
- data/features/solaris_package.feature +1 -0
- data/features/systemd_unit.feature +33 -0
- data/features/windows_package.feature +1 -0
- data/features/zypper_package.feature +18 -0
- data/lib/chefspec/api.rb +8 -0
- data/lib/chefspec/api/bff_package.rb +154 -0
- data/lib/chefspec/api/homebrew_package.rb +154 -0
- data/lib/chefspec/api/launchd.rb +151 -0
- data/lib/chefspec/api/openbsd_package.rb +155 -0
- data/lib/chefspec/api/osx_profile.rb +63 -0
- data/lib/chefspec/api/paludis_package.rb +155 -0
- data/lib/chefspec/api/ruby_block.rb +31 -0
- data/lib/chefspec/api/script.rb +39 -0
- data/lib/chefspec/api/solaris_package.rb +37 -0
- data/lib/chefspec/api/systemd_unit.rb +353 -0
- data/lib/chefspec/api/zypper_package.rb +154 -0
- data/lib/chefspec/version.rb +1 -1
- metadata +111 -3
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'systemd_unit::create' do
|
4
|
+
let(:chef_run) { ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04').converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'creates a systemd unit with an explicit action' do
|
7
|
+
expect(chef_run).to create_systemd_unit('explicit_action')
|
8
|
+
expect(chef_run).to_not create_systemd_unit('not_explicit_action')
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'systemd_unit::delete' do
|
4
|
+
let(:chef_run) { ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04').converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'deletes a systemd_unit with an explicit action' do
|
7
|
+
expect(chef_run).to delete_systemd_unit('explicit_action')
|
8
|
+
expect(chef_run).to_not delete_systemd_unit('not_explicit_action')
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'systemd_unit::disable' do
|
4
|
+
let(:chef_run) { ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04').converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'disables a systemd unit with an explicit action' do
|
7
|
+
expect(chef_run).to disable_systemd_unit('explicit_action')
|
8
|
+
expect(chef_run).to_not disable_systemd_unit('not_explicit_action')
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'systemd_unit::enable' do
|
4
|
+
let(:chef_run) { ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04').converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'enables a systemd unit with an explicit action' do
|
7
|
+
expect(chef_run).to enable_systemd_unit('explicit_action')
|
8
|
+
expect(chef_run).to_not enable_systemd_unit('not_explicit_action')
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'systemd_unit::mask' do
|
4
|
+
let(:chef_run) { ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04').converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'masks a systemd unit with an explicit action' do
|
7
|
+
expect(chef_run).to mask_systemd_unit('explicit_action')
|
8
|
+
expect(chef_run).to_not mask_systemd_unit('not_explicit_action')
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'systemd_unit::reload_or_restart' do
|
4
|
+
let(:chef_run) { ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04').converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'reloads or restarts a systemd_unit daemon with an explicit action' do
|
7
|
+
expect(chef_run).to reload_or_restart_systemd_unit('explicit_action')
|
8
|
+
expect(chef_run).to_not reload_or_restart_systemd_unit('not_explicit_action')
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'systemd_unit::reload_or_try_restart' do
|
4
|
+
let(:chef_run) { ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04').converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'reloads or tries to restart a systemd_unit daemon with an explicit action' do
|
7
|
+
expect(chef_run).to reload_or_try_restart_systemd_unit('explicit_action')
|
8
|
+
expect(chef_run).to_not reload_or_try_restart_systemd_unit('not_explicit_action')
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'systemd_unit::restart' do
|
4
|
+
let(:chef_run) { ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04').converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'restarts a systemd_unit daemon with an explicit action' do
|
7
|
+
expect(chef_run).to restart_systemd_unit('explicit_action')
|
8
|
+
expect(chef_run).to_not restart_systemd_unit('not_explicit_action')
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'systemd_unit::start' do
|
4
|
+
let(:chef_run) { ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04').converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'starts a systemd_unit daemon with an explicit action' do
|
7
|
+
expect(chef_run).to start_systemd_unit('explicit_action')
|
8
|
+
expect(chef_run).to_not start_systemd_unit('not_explicit_action')
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'systemd_unit::stop' do
|
4
|
+
let(:chef_run) { ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04').converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'stops a systemd_unit daemon with an explicit action' do
|
7
|
+
expect(chef_run).to stop_systemd_unit('explicit_action')
|
8
|
+
expect(chef_run).to_not stop_systemd_unit('not_explicit_action')
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'systemd_unit::try_restart' do
|
4
|
+
let(:chef_run) { ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04').converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'tries to restart a systemd_unit daemon with an explicit action' do
|
7
|
+
expect(chef_run).to try_restart_systemd_unit('explicit_action')
|
8
|
+
expect(chef_run).to_not try_restart_systemd_unit('not_explicit_action')
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'systemd_unit::unmask' do
|
4
|
+
let(:chef_run) { ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '16.04').converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'unmasks a systemd_unit daemon with an explicit action' do
|
7
|
+
expect(chef_run).to unmask_systemd_unit('explicit_action')
|
8
|
+
expect(chef_run).to_not unmask_systemd_unit('not_explicit_action')
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
zypper_package 'default_action'
|
2
|
+
|
3
|
+
zypper_package 'explicit_action' do
|
4
|
+
action :install
|
5
|
+
end
|
6
|
+
|
7
|
+
zypper_package 'with_attributes' do
|
8
|
+
version '1.0.0'
|
9
|
+
end
|
10
|
+
|
11
|
+
zypper_package 'specifying the identity attribute' do
|
12
|
+
package_name 'identity_attribute'
|
13
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
zypper_package 'explicit_action' do
|
2
|
+
action :purge
|
3
|
+
end
|
4
|
+
|
5
|
+
zypper_package 'with_attributes' do
|
6
|
+
version '1.0.0'
|
7
|
+
action :purge
|
8
|
+
end
|
9
|
+
|
10
|
+
zypper_package 'specifying the identity attribute' do
|
11
|
+
package_name 'identity_attribute'
|
12
|
+
action :purge
|
13
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
zypper_package 'explicit_action' do
|
2
|
+
action :remove
|
3
|
+
end
|
4
|
+
|
5
|
+
zypper_package 'with_attributes' do
|
6
|
+
version '1.0.0'
|
7
|
+
action :remove
|
8
|
+
end
|
9
|
+
|
10
|
+
zypper_package 'specifying the identity attribute' do
|
11
|
+
package_name 'identity_attribute'
|
12
|
+
action :remove
|
13
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
zypper_package 'explicit_action' do
|
2
|
+
action :upgrade
|
3
|
+
end
|
4
|
+
|
5
|
+
zypper_package 'with_attributes' do
|
6
|
+
version '1.0.0'
|
7
|
+
action :upgrade
|
8
|
+
end
|
9
|
+
|
10
|
+
zypper_package 'specifying the identity attribute' do
|
11
|
+
package_name 'identity_attribute'
|
12
|
+
action :upgrade
|
13
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'zypper_package::install' do
|
4
|
+
let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'installs a zypper_package with the default action' do
|
7
|
+
expect(chef_run).to install_zypper_package('default_action')
|
8
|
+
expect(chef_run).to_not install_zypper_package('not_default_action')
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'installs a zypper_package with an explicit action' do
|
12
|
+
expect(chef_run).to install_zypper_package('explicit_action')
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'installs a zypper_package with attributes' do
|
16
|
+
expect(chef_run).to install_zypper_package('with_attributes').with(version: '1.0.0')
|
17
|
+
expect(chef_run).to_not install_zypper_package('with_attributes').with(version: '1.2.3')
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'installs a zypper_package when specifying the identity attribute' do
|
21
|
+
expect(chef_run).to install_zypper_package('identity_attribute')
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'zypper_package::purge' do
|
4
|
+
let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'purges a zypper_package with an explicit action' do
|
7
|
+
expect(chef_run).to purge_zypper_package('explicit_action')
|
8
|
+
expect(chef_run).to_not purge_zypper_package('not_explicit_action')
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'purges a zypper_package with attributes' do
|
12
|
+
expect(chef_run).to purge_zypper_package('with_attributes').with(version: '1.0.0')
|
13
|
+
expect(chef_run).to_not purge_zypper_package('with_attributes').with(version: '1.2.3')
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'purges a zypper_package when specifying the identity attribute' do
|
17
|
+
expect(chef_run).to purge_zypper_package('identity_attribute')
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'zypper_package::remove' do
|
4
|
+
let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'removes a zypper_package with an explicit action' do
|
7
|
+
expect(chef_run).to remove_zypper_package('explicit_action')
|
8
|
+
expect(chef_run).to_not remove_zypper_package('not_explicit_action')
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'removes a zypper_package with attributes' do
|
12
|
+
expect(chef_run).to remove_zypper_package('with_attributes').with(version: '1.0.0')
|
13
|
+
expect(chef_run).to_not remove_zypper_package('with_attributes').with(version: '1.2.3')
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'removes a zypper_package when specifying the identity attribute' do
|
17
|
+
expect(chef_run).to remove_zypper_package('identity_attribute')
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'chefspec'
|
2
|
+
|
3
|
+
describe 'zypper_package::upgrade' do
|
4
|
+
let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
|
5
|
+
|
6
|
+
it 'upgrades a zypper_package with an explicit action' do
|
7
|
+
expect(chef_run).to upgrade_zypper_package('explicit_action')
|
8
|
+
expect(chef_run).to_not upgrade_zypper_package('not_explicit_action')
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'upgrades a zypper_package with attributes' do
|
12
|
+
expect(chef_run).to upgrade_zypper_package('with_attributes').with(version: '1.0.0')
|
13
|
+
expect(chef_run).to_not upgrade_zypper_package('with_attributes').with(version: '1.2.3')
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'upgrades a zypper_package when specifying the identity attribute' do
|
17
|
+
expect(chef_run).to upgrade_zypper_package('identity_attribute')
|
18
|
+
end
|
19
|
+
end
|
data/features/attributes.feature
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
Feature: The bff_package matcher
|
2
|
+
Background:
|
3
|
+
* I am using the "bff_package" cookbook
|
4
|
+
|
5
|
+
Scenario Outline: Running specs
|
6
|
+
* I successfully run `rspec spec/<Matcher>_spec.rb`
|
7
|
+
* the output should contain "0 failures"
|
8
|
+
Examples:
|
9
|
+
| Matcher |
|
10
|
+
| install |
|
11
|
+
| purge |
|
12
|
+
| remove |
|
@@ -0,0 +1,12 @@
|
|
1
|
+
Feature: The homebrew_package matcher
|
2
|
+
Background:
|
3
|
+
* I am using the "homebrew_package" cookbook
|
4
|
+
|
5
|
+
Scenario Outline: Running specs
|
6
|
+
* I successfully run `rspec spec/<Matcher>_spec.rb`
|
7
|
+
* the output should contain "0 failures"
|
8
|
+
Examples:
|
9
|
+
| Matcher |
|
10
|
+
| install |
|
11
|
+
| purge |
|
12
|
+
| remove |
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@not_chef_12_0_3
|
2
|
+
@not_chef_12_1_2
|
3
|
+
@not_chef_12_2_1
|
4
|
+
@not_chef_12_3_0
|
5
|
+
@not_chef_12_4_3
|
6
|
+
@not_chef_12_5_1
|
7
|
+
@not_chef_12_6_0
|
8
|
+
@not_chef_12_7_2
|
9
|
+
|
10
|
+
Feature: The launchd matcher
|
11
|
+
Background:
|
12
|
+
* I am using the "launchd" cookbook
|
13
|
+
|
14
|
+
Scenario Outline: Running specs
|
15
|
+
* I successfully run `rspec spec/<Matcher>_spec.rb`
|
16
|
+
* the output should contain "0 failures"
|
17
|
+
Examples:
|
18
|
+
| Matcher |
|
19
|
+
| create |
|
20
|
+
| create_if_missing |
|
21
|
+
| delete |
|
22
|
+
| disable |
|
23
|
+
| enable |
|
@@ -0,0 +1,14 @@
|
|
1
|
+
@not_chef_12_0_3
|
2
|
+
|
3
|
+
Feature: The openbsd_package matcher
|
4
|
+
Background:
|
5
|
+
* I am using the "openbsd_package" cookbook
|
6
|
+
|
7
|
+
Scenario Outline: Running specs
|
8
|
+
* I successfully run `rspec spec/<Matcher>_spec.rb`
|
9
|
+
* the output should contain "0 failures"
|
10
|
+
Examples:
|
11
|
+
| Matcher |
|
12
|
+
| install |
|
13
|
+
| purge |
|
14
|
+
| remove |
|
@@ -0,0 +1,19 @@
|
|
1
|
+
@not_chef_12_0_3
|
2
|
+
@not_chef_12_1_2
|
3
|
+
@not_chef_12_2_1
|
4
|
+
@not_chef_12_3_0
|
5
|
+
@not_chef_12_4_3
|
6
|
+
@not_chef_12_5_1
|
7
|
+
@not_chef_12_6_0
|
8
|
+
|
9
|
+
Feature: The osx_profile matcher
|
10
|
+
Background:
|
11
|
+
* I am using the "osx_profile" cookbook
|
12
|
+
|
13
|
+
Scenario Outline: Running specs
|
14
|
+
* I successfully run `rspec spec/<Matcher>_spec.rb`
|
15
|
+
* the output should contain "0 failures"
|
16
|
+
Examples:
|
17
|
+
| Matcher |
|
18
|
+
| install |
|
19
|
+
| remove |
|