Commit e249eb2c authored by Alex Kalderimis's avatar Alex Kalderimis

Rename pivotaltracker integration

Rename pivotaltracker project association from pivotaltracker_service to
pivotaltracker_integration.
parent 50941ea7
...@@ -48,7 +48,7 @@ class Integration < ApplicationRecord ...@@ -48,7 +48,7 @@ class Integration < ApplicationRecord
flowdock flowdock
hangouts_chat hangouts_chat
irker irker
packagist pipelines_email packagist pipelines_email pivotaltracker
].to_set.freeze ].to_set.freeze
def self.renamed?(name) def self.renamed?(name)
......
...@@ -180,7 +180,7 @@ class Project < ApplicationRecord ...@@ -180,7 +180,7 @@ class Project < ApplicationRecord
has_one :mock_ci_service, class_name: 'Integrations::MockCi' has_one :mock_ci_service, class_name: 'Integrations::MockCi'
has_one :packagist_integration, class_name: 'Integrations::Packagist' has_one :packagist_integration, class_name: 'Integrations::Packagist'
has_one :pipelines_email_integration, class_name: 'Integrations::PipelinesEmail' has_one :pipelines_email_integration, class_name: 'Integrations::PipelinesEmail'
has_one :pivotaltracker_service, class_name: 'Integrations::Pivotaltracker' has_one :pivotaltracker_integration, class_name: 'Integrations::Pivotaltracker'
has_one :pushover_service, class_name: 'Integrations::Pushover' has_one :pushover_service, class_name: 'Integrations::Pushover'
has_one :redmine_service, class_name: 'Integrations::Redmine' has_one :redmine_service, class_name: 'Integrations::Redmine'
has_one :slack_service, class_name: 'Integrations::Slack' has_one :slack_service, class_name: 'Integrations::Slack'
......
...@@ -372,7 +372,7 @@ project: ...@@ -372,7 +372,7 @@ project:
- slack_slash_commands_service - slack_slash_commands_service
- irker_integration - irker_integration
- packagist_integration - packagist_integration
- pivotaltracker_service - pivotaltracker_integration
- prometheus_service - prometheus_service
- flowdock_integration - flowdock_integration
- assembla_integration - assembla_integration
......
...@@ -52,7 +52,7 @@ RSpec.describe Project, factory_default: :keep do ...@@ -52,7 +52,7 @@ RSpec.describe Project, factory_default: :keep do
it { is_expected.to have_one(:emails_on_push_integration) } it { is_expected.to have_one(:emails_on_push_integration) }
it { is_expected.to have_one(:pipelines_email_integration) } it { is_expected.to have_one(:pipelines_email_integration) }
it { is_expected.to have_one(:irker_integration) } it { is_expected.to have_one(:irker_integration) }
it { is_expected.to have_one(:pivotaltracker_service) } it { is_expected.to have_one(:pivotaltracker_integration) }
it { is_expected.to have_one(:flowdock_integration) } it { is_expected.to have_one(:flowdock_integration) }
it { is_expected.to have_one(:assembla_integration) } it { is_expected.to have_one(:assembla_integration) }
it { is_expected.to have_one(:slack_slash_commands_service) } it { is_expected.to have_one(:slack_slash_commands_service) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment