Commit 1a446368 authored by Rémy Coutable's avatar Rémy Coutable

Move an EE-specific factory to ee/spec/factories/services.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 4bd9f816
...@@ -12,4 +12,11 @@ FactoryBot.define do ...@@ -12,4 +12,11 @@ FactoryBot.define do
active { true } active { true }
type { 'SlackSlashCommandsService' } type { 'SlackSlashCommandsService' }
end end
factory :github_service do
project
type { 'GithubService' }
active { true }
token { 'github-token' }
end
end end
...@@ -165,13 +165,6 @@ FactoryBot.define do ...@@ -165,13 +165,6 @@ FactoryBot.define do
type { 'SlackService' } type { 'SlackService' }
end end
factory :github_service do
project
type { 'GithubService' }
active { true }
token { 'github-token' }
end
factory :pipelines_email_service do factory :pipelines_email_service do
project project
active { true } active { true }
......
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