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

apache-fpm_spec.rb unit test may not be running shared examples #115

Open
martinb3 opened this issue Feb 11, 2015 · 1 comment
Open

apache-fpm_spec.rb unit test may not be running shared examples #115

martinb3 opened this issue Feb 11, 2015 · 1 comment

Comments

@martinb3
Copy link
Contributor

It looks like shared examples aren't being run in apache-fpm_spec.rb. If I remove the few top-level it should... stanzas, it reports 0 tests. I discovered this making a copy of apache-fpm_spec.rb as a starting point for a new test.

I think we need to surround all shared_example ... stanzas with an it ... do ... end block in order to be sure they count as test for the specific unit test file.

/CC @jujugrrr

@martinb3
Copy link
Contributor Author

Seems like we intended maybe to share these tests around, but I don't think we are.

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

No branches or pull requests

1 participant