blob: c280428d7563b1f707ae7b1bbf13ee80c0dd4f72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
@language @recipe_inclusion
Feature: Recipe Inclusion
In order to encapsulate functionality and re-use it
As a developer
I want to include a recipe from another one
Scenario: Include a recipe directly
Given a validated node
And it includes the recipe 'recipe_include'
When I run the chef-client
Then the run should exit '0'
And a file named 'fire_once' should contain 'mars_volta' only '1' time
Scenario: Include a recipe multipe times
Given a validated node
And it includes the recipe 'recipe_include'
And it includes the recipe 'recipe_include::second'
When I run the chef-client
Then the run should exit '0'
And a file named 'fire_once' should contain 'mars_volta' only '1' time
|