Rename Licenses API to License Templates API
This commit is contained in:
parent
e4dacb353e
commit
1910fd05ae
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
module API
|
||||
# Licenses API
|
||||
class Licenses < Grape::API
|
||||
# License Templates API
|
||||
class LicenseTemplates < Grape::API
|
||||
PROJECT_TEMPLATE_REGEX =
|
||||
/[\<\{\[]
|
||||
(project|description|
|
|
@ -1,6 +1,6 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe API::Licenses, api: true do
|
||||
describe API::API, api: true do
|
||||
include ApiHelpers
|
||||
|
||||
describe 'Entity' do
|
Loading…
Reference in a new issue