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

fix inspec shell and continuously test it #556

Merged
merged 1 commit into from
Mar 19, 2016
Merged

fix inspec shell and continuously test it #556

merged 1 commit into from
Mar 19, 2016

Conversation

arlimus
Copy link
Contributor

@arlimus arlimus commented Mar 19, 2016

Fixing the bug I introduced here 16c3c00

  • adding tests to prevent it in the future

@arlimus arlimus added the Type: Bug Feature not working as expected label Mar 19, 2016
@@ -84,7 +84,7 @@ def add_content(tests, libs, options = {})
end

# evaluate the test content
tests = Array(tests) unless tests.is_a? Array
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Array(tests) is magical. In case you give it a Hash, it will turn it into an Array and embed it.

@chris-rock
Copy link
Contributor

Thanks @arlimus

chris-rock added a commit that referenced this pull request Mar 19, 2016
fix inspec shell and continuously test it
@chris-rock chris-rock merged commit 75705b1 into master Mar 19, 2016
@chris-rock chris-rock deleted the dr/shell branch March 19, 2016 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants