diff options
author | John Jarvis <jarv@gitlab.com> | 2019-01-02 09:32:40 +0000 |
---|---|---|
committer | John Jarvis <jarv@gitlab.com> | 2019-01-02 09:32:40 +0000 |
commit | 1bc6dc28b36ccf031ac24a893263eae578e1a2b0 (patch) | |
tree | 09358dc1120c835f4ac1908556c698788dc566de /spec/services/groups | |
parent | a0a12ee5a14f2d5e363749dddbcaa58582fa743d (diff) | |
parent | 1653f7b1c68b2ea7da8df84ed459b9578e3dff8f (diff) | |
download | gitlab-ce-1bc6dc28b36ccf031ac24a893263eae578e1a2b0.tar.gz |
Merge branch 'security-todos_not_redacted_for_guests' into 'master'
[master] Security todos not redacted for guests
See merge request gitlab/gitlabhq!2697
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 |