-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetadata.feature
More file actions
21 lines (18 loc) · 962 Bytes
/
Copy pathmetadata.feature
File metadata and controls
21 lines (18 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@cookbooks @cookbook_metadata
Feature: Cookbook Metadata
In order to understand cookbooks without evaluating them
As an Administrator
I want to automatically generate metadata about cookbooks
Scenario: Generate metadata for all cookbooks
Given a local cookbook repository
When I run the task to generate cookbook metadata
Then the run should exit '0'
And 'stdout' should have 'Generating metadata for metadata'
And 'stdout' should have 'Generating metadata for execute_commands'
And a file named 'cookbooks_dir/cookbooks/metadata/metadata.json' should exist
Scenario: Generate metadata for a specific cookbook
Given a local cookbook repository
When I run the task to generate cookbook metadata for 'metadata'
Then the run should exit '0'
And 'stdout' should have 'Generating metadata for metadata'
And a file named 'cookbooks_dir/cookbooks/metadata/metadata.json' should exist