Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6229065f
Commit
6229065f
authored
Jun 05, 2018
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add IidRoutes for Epic
parent
58730258
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
ee/app/models/ee/epic.rb
ee/app/models/ee/epic.rb
+1
-0
ee/spec/models/epic_spec.rb
ee/spec/models/epic_spec.rb
+1
-0
spec/lib/gitlab/ci/pipeline/chain/populate_spec.rb
spec/lib/gitlab/ci/pipeline/chain/populate_spec.rb
+1
-1
No files found.
ee/app/models/ee/epic.rb
View file @
6229065f
...
@@ -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
...
...
ee/spec/models/epic_spec.rb
View file @
6229065f
...
@@ -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
...
...
spec/lib/gitlab/ci/pipeline/chain/populate_spec.rb
View file @
6229065f
...
@@ -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
,
s
config:
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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment