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
0bf8b565
Commit
0bf8b565
authored
Nov 27, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs
parent
c5145051
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
spec/ee/spec/features/epics/update_epic_spec.rb
spec/ee/spec/features/epics/update_epic_spec.rb
+1
-1
spec/helpers/issuables_helper_spec.rb
spec/helpers/issuables_helper_spec.rb
+2
-0
No files found.
spec/ee/spec/features/epics/update_epic_spec.rb
View file @
0bf8b565
spec/helpers/issuables_helper_spec.rb
View file @
0bf8b565
...
@@ -174,6 +174,7 @@ describe IssuablesHelper do
...
@@ -174,6 +174,7 @@ describe IssuablesHelper do
expected_data
=
{
expected_data
=
{
'endpoint'
=>
"/
#{
@project
.
full_path
}
/issues/
#{
issue
.
iid
}
"
,
'endpoint'
=>
"/
#{
@project
.
full_path
}
/issues/
#{
issue
.
iid
}
"
,
'updateEndpoint'
=>
"/
#{
@project
.
full_path
}
/issues/
#{
issue
.
iid
}
.json"
,
'canUpdate'
=>
true
,
'canUpdate'
=>
true
,
'canDestroy'
=>
true
,
'canDestroy'
=>
true
,
'canAdmin'
=>
true
,
'canAdmin'
=>
true
,
...
@@ -198,6 +199,7 @@ describe IssuablesHelper do
...
@@ -198,6 +199,7 @@ describe IssuablesHelper do
expected_data
=
{
expected_data
=
{
'endpoint'
=>
"/groups/
#{
@group
.
full_path
}
/-/epics/
#{
epic
.
iid
}
"
,
'endpoint'
=>
"/groups/
#{
@group
.
full_path
}
/-/epics/
#{
epic
.
iid
}
"
,
'updateEndpoint'
=>
"/groups/
#{
@group
.
full_path
}
/-/epics/
#{
epic
.
iid
}
.json"
,
'issueLinksEndpoint'
=>
"/groups/
#{
@group
.
full_path
}
/-/epics/
#{
epic
.
iid
}
/issues"
,
'issueLinksEndpoint'
=>
"/groups/
#{
@group
.
full_path
}
/-/epics/
#{
epic
.
iid
}
/issues"
,
'canUpdate'
=>
true
,
'canUpdate'
=>
true
,
'canDestroy'
=>
true
,
'canDestroy'
=>
true
,
...
...
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