Skip to content
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

(maint) Finish PDK::Validate::* unit tests #139

Merged
merged 8 commits into from
Jul 19, 2017

Conversation

rodjek
Copy link
Contributor

@rodjek rodjek commented Jul 10, 2017

No description provided.

@rodjek rodjek force-pushed the validator_unit_tests branch from 655c07c to 799f753 Compare July 11, 2017 01:03
@rodjek rodjek changed the title [WIP] (maint) Finish PDK::Validate::* unit tests (maint) Finish PDK::Validate::* unit tests Jul 13, 2017
@@ -16,6 +16,10 @@ def self.cmd
'rubocop'
end

def self.pattern
['**/*.rb']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recall we had a brief discussion about how rubocop should lint anything that has ruby in it, including Gemfile and Rakefile. Adding a pattern will ignore those files now, is that desired behavior?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good point (although our .rubocop.yml template in puppetlabs/pdk-module-template is explicitly excluding Gemfile and Rakefile at the moment, but we can fix that later). I'll remove the pattern and update the spec

@rodjek rodjek force-pushed the validator_unit_tests branch from 9b4a5a7 to f9c11db Compare July 14, 2017 04:52
@rodjek rodjek force-pushed the validator_unit_tests branch from f9c11db to 7f166b9 Compare July 14, 2017 04:52
@DavidS DavidS merged commit 202dc59 into puppetlabs:master Jul 19, 2017
@rodjek rodjek deleted the validator_unit_tests branch July 20, 2017 01:03
@chelnak chelnak added the maintenance Internal maintenance work that shouldn't appear in the changelog label Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Internal maintenance work that shouldn't appear in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants