Commit 960a5bd7 authored by charlie ablett's avatar charlie ablett

Place classes under EpicBoards

- EpicBoards is less confusing than Epics
parent 6d63abe8
......@@ -36,7 +36,7 @@ module EE
mount_mutation ::Mutations::Vulnerabilities::DestroyExternalIssueLink
mount_mutation ::Mutations::Boards::Update
mount_mutation ::Mutations::Boards::UpdateEpicUserPreferences
mount_mutation ::Mutations::Boards::Epics::Create
mount_mutation ::Mutations::Boards::EpicBoards::Create
mount_mutation ::Mutations::Boards::Lists::UpdateLimitMetrics
mount_mutation ::Mutations::InstanceSecurityDashboard::AddProject
mount_mutation ::Mutations::InstanceSecurityDashboard::RemoveProject
......
......@@ -2,7 +2,7 @@
module Mutations
module Boards
module Epics
module EpicBoards
class Create < ::Mutations::BaseMutation
include Mutations::ResolvesGroup
include Mutations::Boards::CommonMutationArguments
......@@ -20,7 +20,7 @@ module Mutations
group_path = args.delete(:group_path)
group = authorized_find!(group_path: group_path)
service_response = ::Boards::Epics::CreateService.new(group, current_user, args).execute
service_response = ::Boards::EpicBoards::CreateService.new(group, current_user, args).execute
{
epic_board: service_response.payload,
......
# frozen_string_literal: true
module Boards
module Epics
module EpicBoards
class CreateService < Boards::CreateService
extend ::Gitlab::Utils::Override
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
RSpec.describe Mutations::Boards::Epics::Create do
RSpec.describe ::Mutations::Boards::EpicBoards::Create do
include GraphqlHelpers
let_it_be(:current_user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
RSpec.describe Boards::Epics::CreateService, services: true do
RSpec.describe Boards::EpicBoards::CreateService, services: true do
def created_board
service.execute.payload
end
......
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