Commit f62a8657 authored by Alex Kalderimis's avatar Alex Kalderimis

Rename webex teams integration

Renames project association from webex_teams_service to
webex_teams_integration.
parent 4038ceb7
......@@ -55,6 +55,7 @@ class Integration < ApplicationRecord
slack slack_slash_commands
teamcity
unify_circuit
webex_teams
].to_set.freeze
def self.renamed?(name)
......
......@@ -189,7 +189,7 @@ class Project < ApplicationRecord
has_one :slack_slash_commands_integration, class_name: 'Integrations::SlackSlashCommands'
has_one :teamcity_integration, class_name: 'Integrations::Teamcity'
has_one :unify_circuit_integration, class_name: 'Integrations::UnifyCircuit'
has_one :webex_teams_service, class_name: 'Integrations::WebexTeams'
has_one :webex_teams_integration, class_name: 'Integrations::WebexTeams'
has_one :youtrack_service, class_name: 'Integrations::Youtrack'
has_one :root_of_fork_network,
......
......@@ -557,7 +557,7 @@ project:
- alert_management_alerts
- repository_storage_moves
- freeze_periods
- webex_teams_service
- webex_teams_integration
- build_report_results
- vulnerability_statistic
- vulnerability_historical_statistics
......
......@@ -40,7 +40,7 @@ RSpec.describe Project, factory_default: :keep do
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_integration) }
it { is_expected.to have_one(:webex_teams_service) }
it { is_expected.to have_one(:webex_teams_integration) }
it { is_expected.to have_one(:packagist_integration) }
it { is_expected.to have_one(:pushover_integration) }
it { is_expected.to have_one(:asana_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