Commit 661c464c authored by Yorick Peterse's avatar Yorick Peterse

Merge branch 'sh-reset-pushes-since-gc-before' into 'master'

Reset pushes_since_gc counter before specs run to ensure starting point is 0

See merge request !6406
parents 1e7ea64e 282c325d
...@@ -4,6 +4,10 @@ describe Projects::HousekeepingService do ...@@ -4,6 +4,10 @@ describe Projects::HousekeepingService do
subject { Projects::HousekeepingService.new(project) } subject { Projects::HousekeepingService.new(project) }
let(:project) { create :project } let(:project) { create :project }
before do
project.reset_pushes_since_gc
end
after do after do
project.reset_pushes_since_gc project.reset_pushes_since_gc
end 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