diff options
author | Felipe Artur <felipefac@gmail.com> | 2018-12-11 16:15:10 -0200 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2018-12-14 10:38:52 -0200 |
commit | 1653f7b1c68b2ea7da8df84ed459b9578e3dff8f (patch) | |
tree | 9e55514e5682aa8799469286265b3e51af84b003 /spec/services/groups | |
parent | cc7353523bc1d19054769d7a0a61b0cb7f6ce4e3 (diff) | |
download | gitlab-ce-1653f7b1c68b2ea7da8df84ed459b9578e3dff8f.tar.gz |
Delete confidential issue todos for guests
Fix leaking information of confidential issues on TODOs
when user is downgraded to guest access.
Diffstat (limited to 'spec/services/groups')
-rw-r--r-- | spec/services/groups/update_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/groups/update_service_spec.rb b/spec/services/groups/update_service_spec.rb index 84cfa53ea05..d87a7dd234d 100644 --- a/spec/services/groups/update_service_spec.rb +++ b/spec/services/groups/update_service_spec.rb @@ -56,7 +56,7 @@ describe Groups::UpdateService do create(:project, :private, group: internal_group) expect(TodosDestroyer::GroupPrivateWorker).to receive(:perform_in) - .with(1.hour, internal_group.id) + .with(Todo::WAIT_FOR_DELETE, internal_group.id) end it "changes permission level to private" do |