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

Add IidRoutes for Epic

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