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
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 @@ describe Projects::HousekeepingService do
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 @@ describe Projects::HousekeepingService do
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