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

unbound_version: add spec tests to the unbound_version fact #212

Merged
merged 1 commit into from
Oct 8, 2019

Conversation

b4ldr
Copy link
Member

@b4ldr b4ldr commented Oct 7, 2019

@xaque208 here are some tests to replace the ones attempted in #173

@zachfi
Copy link
Contributor

zachfi commented Oct 7, 2019

The test errors here look similar to what I was running into.

@b4ldr
Copy link
Member Author

b4ldr commented Oct 8, 2019

oh i forgot to fix rubocop errors should be god now

edit: oh i see ruby 2.4 has errors will check

@b4ldr
Copy link
Member Author

b4ldr commented Oct 8, 2019

strange this works on my laptop but not a fresh install, suspect something is missing from the Gemfile but not sure what just yet

@b4ldr b4ldr force-pushed the add_facter_tests branch 3 times, most recently from 625aaeb to 4650046 Compare October 8, 2019 09:44
@b4ldr
Copy link
Member Author

b4ldr commented Oct 8, 2019

Ok i think i got it, the fact was testing for the presence of the unbound binary. if it doesn't exist the fact will return nil and it doesn't exist in travis so we have to mock that a bit.

@zachfi
Copy link
Contributor

zachfi commented Oct 8, 2019

Yay! Thank you for putting this up @b4ldr, much appreciated.

@zachfi zachfi merged commit 6d4fdc5 into voxpupuli:master Oct 8, 2019
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.

None yet

2 participants