GitLab wurde erfolgreich aktualisiert. Durch regelmäßige Updates bleibt das THM GitLab sicher. Danke für Ihre Geduld.

Commit 0beae70e authored by Jacob Vosmaer's avatar Jacob Vosmaer

Use strings instead of symbols

parent 021d53c9
......@@ -4,7 +4,7 @@
subject { Projects::HousekeepingService.new(project) }
let(:project) { create :project }
describe :execute do
describe 'execute' do
before do
project.pushes_since_gc = 3
project.save!
......@@ -27,7 +27,7 @@
end
end
describe :needed? do
describe 'needed?' do
it 'when the count is low enough' do
expect(subject.needed?).to eq(false)
end
......@@ -38,7 +38,7 @@
end
end
describe :increment! do
describe 'increment!' do
it 'increments the pushes_since_gc counter' do
expect(project.pushes_since_gc).to eq(0)
subject.increment!
......
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