Commit 6229065f authored by Shinya Maeda's avatar Shinya Maeda

Add IidRoutes for Epic

parent 58730258
...@@ -4,6 +4,7 @@ module EE ...@@ -4,6 +4,7 @@ module EE
prepended do prepended do
include AtomicInternalId include AtomicInternalId
include IidRoutes
include ::Issuable include ::Issuable
include Noteable include Noteable
include Referable include Referable
......
...@@ -23,6 +23,7 @@ describe Epic do ...@@ -23,6 +23,7 @@ describe Epic do
it_behaves_like 'AtomicInternalId' do it_behaves_like 'AtomicInternalId' do
let(:internal_id_attribute) { :iid } let(:internal_id_attribute) { :iid }
let(:instance) { build(:epic) } let(:instance) { build(:epic) }
let(:scope) { :group }
let(:scope_attrs) { { namespace: instance.group } } let(:scope_attrs) { { namespace: instance.group } }
let(:usage) { :epics } let(:usage) { :epics }
end end
......
...@@ -174,7 +174,7 @@ describe Gitlab::Ci::Pipeline::Chain::Populate do ...@@ -174,7 +174,7 @@ describe Gitlab::Ci::Pipeline::Chain::Populate do
end end
let(:pipeline) do let(:pipeline) do
build(:ci_pipeline, ref: 'master', project: project, sconfig: config) build(:ci_pipeline, ref: 'master', project: project, config: config)
end end
it_behaves_like 'populates pipeline according to used policies' it_behaves_like 'populates pipeline according to used policies'
......
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