woodpecker integration
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
FactoryBot.define do
|
||||
factory :ci_repository, class: "WarpEngine::CiRepository" do
|
||||
sequence(:woodpecker_repo_id) { |n| n }
|
||||
repo_owner { "testorg" }
|
||||
sequence(:repo_name) { |n| "game-#{n}" }
|
||||
platform { "tic80" }
|
||||
active { true }
|
||||
|
||||
trait :with_software do
|
||||
association :software
|
||||
end
|
||||
|
||||
trait :inactive do
|
||||
active { false }
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user