-
Notifications
You must be signed in to change notification settings - Fork 15
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
Configuration and ReadingGroup ownership models are not used for acceptance tests #42
Comments
But, if I create test cases where the user does not own them, the mezuro_configuration_ownership and reading_group_ownership models will keep uncovered, won't it? |
You are correct, maybe I was momentarily crazy while writing this :) There is a chance that the uncovered methods of these models are never used maybe. But we still need some tests for when the user does not own them even that they will not raise the coverage. |
I removed these methods in the pull request #160 . They were only used by some methods that are not used anywhere. Ok? |
About the case where user does not own them, I think that the following scenarios already test this:
What you think? Further testing is required? |
I think it is necessary. Suppose a user knows how to write the URL to access the edit pages (or Notice that this case, when you are using meaningful routes is actually Em Wed Nov 26 2014 at 2:02:15 PM, Beatriz Rezener [email protected]
|
Hi, These scenarios has already been tested in rspec too. I think this issue may be closed... Reading Group: https://github.com/mezuro/prezento/blob/master/spec/controllers/reading_groups_controller_spec.rb Mezuro Configuration: |
These are unit tests. This issue is about acceptance tests using cucumber :) |
Create test cases qhere the user does not own them!
The text was updated successfully, but these errors were encountered: