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

Use strings instead of symbols

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