Commit 4038ceb7 authored by Alex Kalderimis's avatar Alex Kalderimis

Rename unify_circuit project association to integration

Renames project association from unify_circuit_service to
unify_circuit_integration.
parent 2db78598
......@@ -54,6 +54,7 @@ class Integration < ApplicationRecord
redmine
slack slack_slash_commands
teamcity
unify_circuit
].to_set.freeze
def self.renamed?(name)
......
......@@ -188,7 +188,7 @@ class Project < ApplicationRecord
has_one :slack_integration, class_name: 'Integrations::Slack'
has_one :slack_slash_commands_integration, class_name: 'Integrations::SlackSlashCommands'
has_one :teamcity_integration, class_name: 'Integrations::Teamcity'
has_one :unify_circuit_service, class_name: 'Integrations::UnifyCircuit'
has_one :unify_circuit_integration, class_name: 'Integrations::UnifyCircuit'
has_one :webex_teams_service, class_name: 'Integrations::WebexTeams'
has_one :youtrack_service, class_name: 'Integrations::Youtrack'
......
......@@ -381,7 +381,7 @@ project:
- microsoft_teams_integration
- mattermost_integration
- hangouts_chat_integration
- unify_circuit_service
- unify_circuit_integration
- buildkite_integration
- bamboo_integration
- teamcity_integration
......
......@@ -39,7 +39,7 @@ RSpec.describe Project, factory_default: :keep do
it { is_expected.to have_one(:microsoft_teams_integration) }
it { is_expected.to have_one(:mattermost_integration) }
it { is_expected.to have_one(:hangouts_chat_integration) }
it { is_expected.to have_one(:unify_circuit_service) }
it { is_expected.to have_one(:unify_circuit_integration) }
it { is_expected.to have_one(:webex_teams_service) }
it { is_expected.to have_one(:packagist_integration) }
it { is_expected.to have_one(:pushover_integration) }
......
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