diff options
author | Robert Speicher <robert@gitlab.com> | 2018-10-05 17:40:32 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2018-10-05 17:40:32 +0000 |
commit | b407061a281607e0c4bf22d2b7e94a068768ccac (patch) | |
tree | 7bfb1d7ffbde4d9aa40f3a05c1bbfb829732c807 /spec/models | |
parent | 2c9c7d72383c6e7232077b4949b98bb71c90e521 (diff) | |
parent | 25bd49e4f57fe15f9d61dc9376a5b7dc35b30f64 (diff) | |
download | gitlab-ce-b407061a281607e0c4bf22d2b7e94a068768ccac.tar.gz |
Merge branch 'ce-5987-project-templates-api' into 'master'
Add a new project-specific templates API endpoint
See merge request gitlab-org/gitlab-ce!22118
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/license_template_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/license_template_spec.rb b/spec/models/license_template_spec.rb index c633e1908d4..dd912eefac1 100644 --- a/spec/models/license_template_spec.rb +++ b/spec/models/license_template_spec.rb @@ -54,6 +54,6 @@ describe LicenseTemplate do end def build_template(content) - described_class.new(id: 'foo', name: 'foo', category: :Other, content: content) + described_class.new(key: 'foo', name: 'foo', category: :Other, content: content) end end |