diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-21 02:50:22 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-21 02:50:22 +0300 |
commit | 9dc93a4519d9d5d7be48ff274127136236a3adb3 (patch) | |
tree | 70467ae3692a0e35e5ea56bcb803eb512a10bedb /spec/services/issue_links | |
parent | 4b0f34b6d759d6299322b3a54453e930c6121ff0 (diff) |
Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43
Diffstat (limited to 'spec/services/issue_links')
-rw-r--r-- | spec/services/issue_links/create_service_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/services/issue_links/create_service_spec.rb b/spec/services/issue_links/create_service_spec.rb index 873890d25cf..1bca717acb7 100644 --- a/spec/services/issue_links/create_service_spec.rb +++ b/spec/services/issue_links/create_service_spec.rb @@ -24,7 +24,7 @@ RSpec.describe IssueLinks::CreateService do end it 'returns error' do - is_expected.to eq(message: 'No Issue found for given params', status: :error, http_status: 404) + is_expected.to eq(message: 'No matching issue found. Make sure that you are adding a valid issue URL.', status: :error, http_status: 404) end end @@ -34,7 +34,7 @@ RSpec.describe IssueLinks::CreateService do end it 'returns error' do - is_expected.to eq(message: 'No Issue found for given params', status: :error, http_status: 404) + is_expected.to eq(message: 'No matching issue found. Make sure that you are adding a valid issue URL.', status: :error, http_status: 404) end it 'no relationship is created' do @@ -52,7 +52,7 @@ RSpec.describe IssueLinks::CreateService do it 'returns error' do target_issuable.project.add_guest(user) - is_expected.to eq(message: 'No Issue found for given params', status: :error, http_status: 404) + is_expected.to eq(message: 'No matching issue found. Make sure that you are adding a valid issue URL.', status: :error, http_status: 404) end it 'no relationship is created' do |