-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds feature to check tags #45
Conversation
Could you fix the two rubocop failures please? Regarding the module line length, I think you could safely disable that for now until the module's refactored. |
@domcleal Done 👍 |
"source": "git://github.com/puppetlabs/puppet-postgresql.git", | ||
"project_page": "https://github.com/puppetlabs/puppet-postgresql", | ||
"issues_url": "https://github.com/puppetlabs/puppet-postgresql/issues", | ||
"tags": "postgres", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there should be a corresponding test where it is in an array. There appear to be no other metadata.json files used for testing with the tags value, so it's not being tested elsewhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems sensible, will do!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy path test added! 👍
test "tags_no_array" $FAILURE | ||
|
||
# Run with tags in an array in metadata.json, expect SUCCESS | ||
test "tags_no_array" $SUCCESS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tags_with_array
* Tags have to be in an array format, adds simple check for this * Bumped module length metric, as class is long right now, needs later refactor
Thanks everyone 👍 |
Closes #44