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
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-08-09 13:16:43 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2017-08-15 13:55:54 +0300
commit639140677410f11955947980aa47356e1136c32e (patch)
tree7d0a6827634ab87586f51ccd886b8888c1085a2e /spec/lib/gitlab/project_template_spec.rb
parent4a2a6d521a260981482ee8e4931ebf06cb4f5b6a (diff)
Add two more project templates
Related to !13108. Mostly this is just running the rake task and changing the task a bit to catch cases like the project already existing or so. The rake task moves archives to the vendor/project_template directory, which are checked in too.
Diffstat (limited to 'spec/lib/gitlab/project_template_spec.rb')
-rw-r--r--spec/lib/gitlab/project_template_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/lib/gitlab/project_template_spec.rb b/spec/lib/gitlab/project_template_spec.rb
index 12e75cdd5d0..d19bd611919 100644
--- a/spec/lib/gitlab/project_template_spec.rb
+++ b/spec/lib/gitlab/project_template_spec.rb
@@ -4,7 +4,9 @@ describe Gitlab::ProjectTemplate do
describe '.all' do
it 'returns a all templates' do
expected = [
- described_class.new('rails', 'Ruby on Rails')
+ described_class.new('rails', 'Ruby on Rails'),
+ described_class.new('spring', 'Spring'),
+ described_class.new('express', 'NodeJS Express')
]
expect(described_class.all).to be_an(Array)