Skip to content
Snippets Groups Projects
Commit 51d40420 authored by Stan Hu's avatar Stan Hu Committed by GitLab Release Tools Bot
Browse files

Merge branch 'fix/web_hook_log_spec' into 'master'

Fix spec/models/hooks/web_hook_log_spec.rb test failure

See merge request gitlab-org/gitlab!81873

(cherry picked from commit ef2136c6)

4a3e66c1 Fix spec/models/hooks/web_hook_log_spec.rb test failed
parent 3fc3472d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -15,7 +15,7 @@ RSpec.describe WebHookLog do
let(:hook) { create(:project_hook) }
 
it 'does not return web hook logs that are too old' do
create(:web_hook_log, web_hook: hook, created_at: 91.days.ago)
create(:web_hook_log, web_hook: hook, created_at: 10.days.ago)
 
expect(described_class.recent.size).to be_zero
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment