Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2016-03-14 20:46:38 +0300
committerJacob Vosmaer <contact@jacobvosmaer.nl>2016-03-14 20:46:38 +0300
commit0beae70efaafc361cf15c13231bdc5ed6de8569f (patch)
tree2210179d97079b5cb3bf45835394d647e26a0e3d /spec
parent021d53c96d308df7c721984435442993357a3414 (diff)
Use strings instead of symbols
Diffstat (limited to 'spec')
-rw-r--r--spec/services/projects/housekeeping_service_spec.rb6
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!