-
Notifications
You must be signed in to change notification settings - Fork 104
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) Move all unit tests under spec/unit #190
Conversation
Some of the renaming was also to comply with rubocop rules. |
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.
👍 interesting that rubocop seems to care about file paths in spec tests but not the path in code.
The comment comes from rubocop allowing us to put PDK::Test::Unit
inside lib/pdk/tests/unit.rb
here. We may want to rename that directory or module for consistency.
I think it wants them to match is the thing, but it also only complains about files once you touch them in a commit. :) |
I'll leave this open so that BFS has a chance to weigh in. |
👍 this and |
👍 remove the relevant exclusions from https://github.com/puppetlabs/pdk/blob/master/.rubocop_todo.yml |
This simplifies running unit tests with your own rspec invocation without having to copy the pattern from the rake task.
I think I successfully updated the exclusions. |
Looks good to me! |
This simplifies running unit tests with your own rspec invocation
without having to copy the pattern from the rake task.