diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-11 03:06:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-11 03:06:26 +0300 |
commit | 991a295378736c60d419c794f0accbf0336987fc (patch) | |
tree | aaee5152256c8d4eb40a1583521bcf320082bb49 /spec/services | |
parent | 71d998ca0de672d5accdf209b4b5e3f360ea5267 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/error_tracking/list_issues_service_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/services/error_tracking/list_issues_service_spec.rb b/spec/services/error_tracking/list_issues_service_spec.rb index fce790f708d..5b73bc91478 100644 --- a/spec/services/error_tracking/list_issues_service_spec.rb +++ b/spec/services/error_tracking/list_issues_service_spec.rb @@ -45,4 +45,12 @@ describe ErrorTracking::ListIssuesService do include_examples 'error tracking service unauthorized user' include_examples 'error tracking service disabled' end + + describe '#external_url' do + it 'calls the project setting sentry_external_url' do + expect(error_tracking_setting).to receive(:sentry_external_url).and_return(sentry_url) + + expect(subject.external_url).to eql sentry_url + end + end end |