diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-19 09:11:33 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-19 09:11:33 +0000 |
commit | 75275d972619992ec41c6b72297984b463aa9656 (patch) | |
tree | 0086b5092ec1cdc0b81eab096b8134d43666e03e /spec/models | |
parent | fca7a77a23ac6e1723a6449287f731634d735b23 (diff) | |
parent | 3715c1cfb5bf3d904e7d2b0f40c8b64f09a7e231 (diff) | |
download | gitlab-ce-75275d972619992ec41c6b72297984b463aa9656.tar.gz |
Merge branch 'issue_35132' into 'master'
Fix external issue trackers redirect
Closes #35132
See merge request !12923
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/project_services/gitlab_issue_tracker_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_services/gitlab_issue_tracker_service_spec.rb b/spec/models/project_services/gitlab_issue_tracker_service_spec.rb index 6ee30e86495..d45e0a441d4 100644 --- a/spec/models/project_services/gitlab_issue_tracker_service_spec.rb +++ b/spec/models/project_services/gitlab_issue_tracker_service_spec.rb @@ -43,7 +43,7 @@ describe GitlabIssueTrackerService, models: true do end it 'gives the correct path' do - expect(service.project_path).to eq("/gitlab/root/#{project.path_with_namespace}/issues") + expect(service.issue_tracker_path).to eq("/gitlab/root/#{project.path_with_namespace}/issues") expect(service.new_issue_path).to eq("/gitlab/root/#{project.path_with_namespace}/issues/new") expect(service.issue_path(432)).to eq("/gitlab/root/#{project.path_with_namespace}/issues/432") end |