This repository has been archived by the owner on Sep 19, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FC054, check for mismatched cookbook names
- Loading branch information
Marcin Sawicki
committed
Apr 13, 2015
1 parent
fcb8aae
commit df3c890
Showing
4 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
features/054_name_should_match_cookbook_dir_name_in_metadata.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Feature: Name should match cookbook dir name in metadata | ||
|
||
In order to avoid complications where a cookbook repository name differs from the cookbook name | ||
As a developer | ||
I want to set the cookbook name within the metadata | ||
|
||
Scenario: Name mismatched in metadata | ||
Given a cookbook with metadata that includes a mismatched cookbook name | ||
When I check the cookbook | ||
Then the name should match cookbook dir name warning 054 should be displayed against the metadata file | ||
|
||
Scenario: Name mismatched in metadata | ||
Given a cookbook with metadata that includes a matched cookbook name | ||
When I check the cookbook | ||
Then the name should match cookbook dir name warning 054 should not be displayed against the metadata file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters