Commit 54acf9bb authored by Alex Kalderimis's avatar Alex Kalderimis

Rename irker service to integration

Renames the project association from irker_servie to irker_integration.
parent 55688792
...@@ -47,6 +47,7 @@ class Integration < ApplicationRecord ...@@ -47,6 +47,7 @@ class Integration < ApplicationRecord
emails_on_push ewm emails_on_push external_wiki emails_on_push ewm emails_on_push external_wiki
flowdock flowdock
hangouts_chat hangouts_chat
irker
].to_set.freeze ].to_set.freeze
def self.renamed?(name) def self.renamed?(name)
......
...@@ -171,7 +171,7 @@ class Project < ApplicationRecord ...@@ -171,7 +171,7 @@ class Project < ApplicationRecord
has_one :external_wiki_integration, class_name: 'Integrations::ExternalWiki' has_one :external_wiki_integration, class_name: 'Integrations::ExternalWiki'
has_one :flowdock_integration, class_name: 'Integrations::Flowdock' has_one :flowdock_integration, class_name: 'Integrations::Flowdock'
has_one :hangouts_chat_integration, class_name: 'Integrations::HangoutsChat' has_one :hangouts_chat_integration, class_name: 'Integrations::HangoutsChat'
has_one :irker_service, class_name: 'Integrations::Irker' has_one :irker_integration, class_name: 'Integrations::Irker'
has_one :jenkins_service, class_name: 'Integrations::Jenkins' has_one :jenkins_service, class_name: 'Integrations::Jenkins'
has_one :jira_service, class_name: 'Integrations::Jira' has_one :jira_service, class_name: 'Integrations::Jira'
has_one :mattermost_service, class_name: 'Integrations::Mattermost' has_one :mattermost_service, class_name: 'Integrations::Mattermost'
......
...@@ -370,7 +370,7 @@ project: ...@@ -370,7 +370,7 @@ project:
- pipelines_email_service - pipelines_email_service
- mattermost_slash_commands_service - mattermost_slash_commands_service
- slack_slash_commands_service - slack_slash_commands_service
- irker_service - irker_integration
- packagist_service - packagist_service
- pivotaltracker_service - pivotaltracker_service
- prometheus_service - prometheus_service
......
...@@ -51,7 +51,7 @@ RSpec.describe Project, factory_default: :keep do ...@@ -51,7 +51,7 @@ RSpec.describe Project, factory_default: :keep do
it { is_expected.to have_one(:drone_ci_integration) } it { is_expected.to have_one(:drone_ci_integration) }
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_service) } it { is_expected.to have_one(:pipelines_email_service) }
it { is_expected.to have_one(:irker_service) } it { is_expected.to have_one(:irker_integration) }
it { is_expected.to have_one(:pivotaltracker_service) } it { is_expected.to have_one(:pivotaltracker_service) }
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) }
......
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