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

Improve tests #54

Merged
merged 9 commits into from
Oct 1, 2015
Merged

Improve tests #54

merged 9 commits into from
Oct 1, 2015

Conversation

tykeal
Copy link
Contributor

@tykeal tykeal commented Oct 1, 2015

This brings the rspec tests up to 100% coverage. Admittedly there's some dumb tests in here, but at least everything is in a minimal test configuration.

This does not, however, add in validation statements. That really should be done as well.

Signed-off-by: Andrew Grimberg <[email protected]>
Update the Rakefile to be more inline with what is setup when a new
module is created via puppet module generate.

This Rakefile differs in that it sets default tasks to run wich is all
the basic validation, rspec and linting tests

Signed-off-by: Andrew Grimberg <[email protected]>
Signed-off-by: Andrew Grimberg <[email protected]>
* User object was depending on a hard coding of the nexus group even
  though the group information could potentially be something other than
  'nexus'

* Update the base tests to be a little more correct. The updates /
  additions is bubbled up the group issue

Signed-off-by: Andrew Grimberg <[email protected]>
This should finish off the most basic init class tests. Testing includes
validating that if nexus_manage_user is false that the user and group
are not created

Signed-off-by: Andrew Grimberg <[email protected]>
Fix up the deploy_pro test switch name to accurately state that it is
testing deploy_pro

Signed-off-by: Andrew Grimberg <[email protected]>
Signed-off-by: Andrew Grimberg <[email protected]>
Found a couple of resource name spelling mistakes while writing unit
tests

Signed-off-by: Andrew Grimberg <[email protected]>
@pranav
Copy link
Contributor

pranav commented Oct 1, 2015

🚀

pranav added a commit that referenced this pull request Oct 1, 2015
@pranav pranav merged commit 182803f into hubspotdevops:master Oct 1, 2015
@tykeal tykeal deleted the improve_tests branch October 2, 2015 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants