Commit 0fd4b9d3 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'rename_license_template_api' into 'master'

Rename Licenses API to License Templates API ## What does this MR do? Earlier I renamed this in EE, thinking license templates was an EE-only feature. This backports that change to CE. Thanks to @vsizov for pointing out this error. See gitlab-ee!400 for the EE merge request. See merge request !4957
parents e4dacb35 1910fd05
Pipeline #3599987 passed with stages
in 1111 minutes 50 seconds
......@@ -39,7 +39,7 @@ module API
mount ::API::Issues
mount ::API::Keys
mount ::API::Labels
mount ::API::Licenses
mount ::API::LicenseTemplates
mount ::API::MergeRequests
mount ::API::Milestones
mount ::API::Namespaces
......
module API
# Licenses API
class Licenses < Grape::API
# License Templates API
class LicenseTemplates < Grape::API
PROJECT_TEMPLATE_REGEX =
/[\<\{\[]
(project|description|
......
require 'spec_helper'
describe API::Licenses, api: true do
describe API::API, api: true do
include ApiHelpers
describe 'Entity' do
......
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