gitlab-org--gitlab-foss/spec/models/project_services
Rémy Coutable 2f7b2057f2 Fix broken URI joining for teamcity_url with suffixes
If one had configured a `teamcity_url` like http://foo.bar/teamcity in
the previous implementation the plugin directed it's request i.e. to
http://foo.bar/httpAuth/... instead of http://foo.bar/teamcity/httpAuth/...

`URI.join` only works correctly, if the prefix URL has
  - at least one or more  trailing '/'
  - the appended parts are _not_ prefixed with '/'

The current implementation should work with all sorts of TeamCity base
URLs.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-14 10:07:37 +02:00
..
slack_service Seconds plural slack 2016-05-24 10:54:16 +02:00
asana_service_spec.rb Satisfy Rubocop 2016-01-05 16:31:05 +01:00
assembla_service_spec.rb Update mock and stub syntax for specs 2015-06-22 12:13:46 +02:00
bamboo_service_spec.rb Factorize duplicated code into a method in BambooService and update specs 2016-06-14 10:07:37 +02:00
buildkite_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
builds_email_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
campfire_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
custom_issue_tracker_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
drone_ci_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
emails_on_push_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
external_wiki_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
flowdock_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
gemnasium_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
gitlab_issue_tracker_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
hipchat_service_spec.rb Improve note factory 2016-05-29 15:03:00 -04:00
irker_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
jira_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
pivotaltracker_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
pushover_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
redmine_service_spec.rb Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
slack_service_spec.rb Update specs to carry out changes in note factory 2016-05-29 15:03:00 -04:00
teamcity_service_spec.rb Fix broken URI joining for teamcity_url with suffixes 2016-06-14 10:07:37 +02:00