Reset pushes_since_gc counter before specs run to ensure starting point is 0
This commit is contained in:
parent
d38499b3a7
commit
282c325d02
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue