Commit ef2136c6 authored by Stan Hu's avatar Stan Hu

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
parents 7c7bbf51 4a3e66c1
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment