4b9ff4d2fe
* Extend quick actions dsl to allow specifying model types to which given quick action applies * Rename issuable attribute to noteable in interpret_service.rb * Refactor and reorder quick action specs * Create a shared example spec for each quick action to be used for issue, merge request and commit specs. https://gitlab.com/gitlab-org/gitlab-ce/issues/50199
17 lines
359 B
Ruby
17 lines
359 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Gitlab
|
|
module QuickActions
|
|
module CommonActions
|
|
extend ActiveSupport::Concern
|
|
include Gitlab::QuickActions::Dsl
|
|
|
|
included do
|
|
# This is a dummy command, so that it appears in the autocomplete commands
|
|
desc 'CC'
|
|
params '@user'
|
|
command :cc
|
|
end
|
|
end
|
|
end
|
|
end
|