diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-09 03:07:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-09 03:07:49 +0300 |
commit | de19091107816cd08b0b83f7d908776e71a43606 (patch) | |
tree | f63ae746b17fe5f95f72f111494e949a12acf6db /spec/presenters | |
parent | 6cb5b3a92d526e8b675aba2d1455e7e00b8656f5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/presenters')
-rw-r--r-- | spec/presenters/issue_presenter_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/presenters/issue_presenter_spec.rb b/spec/presenters/issue_presenter_spec.rb index 22a86d04a5a..1e8fda08bdb 100644 --- a/spec/presenters/issue_presenter_spec.rb +++ b/spec/presenters/issue_presenter_spec.rb @@ -35,16 +35,6 @@ RSpec.describe IssuePresenter do context 'when issue type is task' do let(:presented_issue) { task } - context 'when use_iid_in_work_items_path feature flag is disabled' do - before do - stub_feature_flags(use_iid_in_work_items_path: false) - end - - it 'returns a work item url for the task' do - expect(presenter.web_url).to eq(project_work_items_url(project, work_items_path: presented_issue.id)) - end - end - 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, iid_path: true) @@ -75,16 +65,6 @@ RSpec.describe IssuePresenter do context 'when issue type is task' do let(:presented_issue) { task } - context 'when use_iid_in_work_items_path feature flag is disabled' do - before do - stub_feature_flags(use_iid_in_work_items_path: false) - end - - it 'returns a work item path for the task' do - expect(presenter.issue_path).to eq(project_work_items_path(project, work_items_path: presented_issue.id)) - end - end - 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, iid_path: true) |