Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 3e122b1b49d287d536898fc2f6b9647fb46f4a8e
https://github.com/openSUSE/open-build-service/commit/3e122b1b49d287d536898f...
Author: Eduardo Navarro
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M src/api/app/policies/comment_policy.rb
M src/api/spec/policies/comment_policy_spec.rb
Log Message:
-----------
[webui][ci] Add comment policy test for nobody
- Add test for "nobody" user. He cannot destroy any comment.
- The initialize method is not needed. It is as ApplicationPolicy.
Commit: 942072f98345db448ce68826bd657a8cccd868d4
https://github.com/openSUSE/open-build-service/commit/942072f98345db448ce688...
Author: Eduardo Navarro
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M src/api/app/policies/comment_policy.rb
M src/api/spec/policies/comment_policy_spec.rb
Log Message:
-----------
[webui][ci] Add more comment policy rspec tests
- Add rspec test for comment policy where the comment is owned by the
"nobody" user. This should be the case where the user has created a
comment and then has been deleted.
- Rewrite some title of the tests.
Commit: bf9128fd58a404920ce438086d7b55de3d9722e9
https://github.com/openSUSE/open-build-service/commit/bf9128fd58a404920ce438...
Author: Moises Deniz Aleman
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M src/api/spec/policies/comment_policy_spec.rb
Log Message:
-----------
[webui][ci] Add latest comment policy rspec tests
Compare: https://github.com/openSUSE/open-build-service/compare/9be339dd4a85...bf9128...