Commit 8bf82c8d authored by Jarka Kadlecova's avatar Jarka Kadlecova

Fix failing specs

parent 511259c0
...@@ -176,6 +176,7 @@ describe IssuablesHelper do ...@@ -176,6 +176,7 @@ describe IssuablesHelper do
'endpoint' => "/#{@project.full_path}/issues/#{issue.iid}", 'endpoint' => "/#{@project.full_path}/issues/#{issue.iid}",
'canUpdate' => true, 'canUpdate' => true,
'canDestroy' => true, 'canDestroy' => true,
'canAdmin' => true,
'issuableRef' => "##{issue.iid}", 'issuableRef' => "##{issue.iid}",
'markdownPreviewPath' => "/#{@project.full_path}/preview_markdown", 'markdownPreviewPath' => "/#{@project.full_path}/preview_markdown",
'markdownDocsPath' => '/help/user/markdown', 'markdownDocsPath' => '/help/user/markdown',
...@@ -197,9 +198,10 @@ describe IssuablesHelper do ...@@ -197,9 +198,10 @@ describe IssuablesHelper do
expected_data = { expected_data = {
'endpoint' => "/groups/#{@group.full_path}/-/epics/#{epic.iid}", 'endpoint' => "/groups/#{@group.full_path}/-/epics/#{epic.iid}",
'issueLinksEndpoint' => "/groups/#{@group.full_path}/-/epics/#{epic.iid}/links", 'issueLinksEndpoint' => "/groups/#{@group.full_path}/-/epics/#{epic.iid}/issues",
'canUpdate' => true, 'canUpdate' => true,
'canDestroy' => true, 'canDestroy' => true,
'canAdmin' => true,
'issuableRef' => nil, 'issuableRef' => nil,
'markdownPreviewPath' => "/groups/#{@group.full_path}/preview_markdown", 'markdownPreviewPath' => "/groups/#{@group.full_path}/preview_markdown",
'markdownDocsPath' => '/help/user/markdown', 'markdownDocsPath' => '/help/user/markdown',
......
...@@ -18,6 +18,8 @@ issues: ...@@ -18,6 +18,8 @@ issues:
- metrics - metrics
- timelogs - timelogs
- issue_assignees - issue_assignees
- epic_issue
- epic
events: events:
- author - author
- project - project
...@@ -316,3 +318,6 @@ push_event_payload: ...@@ -316,3 +318,6 @@ push_event_payload:
issue_assignees: issue_assignees:
- issue - issue
- assignee - assignee
epic_issues:
- issue
- epic
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