Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/presenters/issue_presenter_spec.rb')
-rw-r--r--spec/presenters/issue_presenter_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/presenters/issue_presenter_spec.rb b/spec/presenters/issue_presenter_spec.rb
index 99ab8582f77..07a9f8015e9 100644
--- a/spec/presenters/issue_presenter_spec.rb
+++ b/spec/presenters/issue_presenter_spec.rb
@@ -37,7 +37,7 @@ RSpec.describe IssuePresenter do
it 'returns a work item url using iid for the task' do
expect(presenter.web_url).to eq(
- project_work_items_url(project, work_items_path: presented_issue.iid)
+ project_work_item_url(project, presented_issue.iid)
)
end
end
@@ -67,7 +67,7 @@ RSpec.describe IssuePresenter do
it 'returns a work item path using iid for the task' do
expect(presenter.issue_path).to eq(
- project_work_items_path(project, work_items_path: presented_issue.iid)
+ project_work_item_path(project, presented_issue.iid)
)
end
end