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

Allow for a nil value when mocking OS #212

Merged
merged 1 commit into from
Nov 13, 2017
Merged

Conversation

adamleff
Copy link
Contributor

As used in InSpec tests, if a nil is passed in when mocking an OS, we should still properly create a fully-fledged Mock OS to prevent further failures.

Signed-off-by: Adam Leff adam@leff.co

As used in InSpec tests, if a nil is passed in when mocking an OS,
we should still properly create a fully-fledged Mock OS to prevent
further failures.

Signed-off-by: Adam Leff <adam@leff.co>
@adamleff adamleff requested a review from a team November 13, 2017 19:57
@adamleff adamleff merged commit 71da346 into master Nov 13, 2017
@adamleff adamleff deleted the adamleff/fix-mock-os branch November 13, 2017 20:11
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.

1 participant