summaryrefslogtreecommitdiff
path: root/spec/services/issue_links/create_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/issue_links/create_service_spec.rb')
-rw-r--r--spec/services/issue_links/create_service_spec.rb6
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