diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-03-14 20:46:38 +0300 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-03-14 20:46:38 +0300 |
commit | 0beae70efaafc361cf15c13231bdc5ed6de8569f (patch) | |
tree | 2210179d97079b5cb3bf45835394d647e26a0e3d /spec | |
parent | 021d53c96d308df7c721984435442993357a3414 (diff) |
Use strings instead of symbols
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/projects/housekeeping_service_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/services/projects/housekeeping_service_spec.rb b/spec/services/projects/housekeeping_service_spec.rb index 32552d882aa..4c3577149f9 100644 --- a/spec/services/projects/housekeeping_service_spec.rb +++ b/spec/services/projects/housekeeping_service_spec.rb @@ -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! |