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

do not load controls from test directory #1327

Merged
merged 1 commit into from
Nov 28, 2016

Conversation

chris-rock
Copy link
Contributor

This PR fixes #1326

InSpec still supported loading controls from test directory. This was supported in the early versions of InSpec and is not used anymore nor documented. Therefore, going forward we support loading controls from controls directory only

@chris-rock
Copy link
Contributor Author

cc @arlimus

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
@alexpop
Copy link
Contributor

alexpop commented Nov 28, 2016

Nice, we can now write tests for inspec profiles!
Thanks Chris

@alexpop alexpop merged commit 29d0cc7 into master Nov 28, 2016
@alexpop alexpop deleted the chris-rock/remove-test-dir-profile branch November 28, 2016 10:21
@walterdolce
Copy link

@alexpop yep. I have an initial, BDD oriented, integration tests setup here. Ideas and suggestions welcome.
Thank you both for fixing and merging.

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.

InSpec loads whichever *.rb file it finds along the way causing itself to fail
3 participants