536a47b4b7
[10.3] Migrate `can_push` column from `keys` to `deploy_keys_project` See merge request gitlab/gitlabhq!2276 (cherry picked from commit f6ca52d31bac350a23938e0aebf717c767b4710c) 1f2bd3c0 Backport to 10.3
10 lines
148 B
Ruby
10 lines
148 B
Ruby
FactoryBot.define do
|
|
factory :deploy_keys_project do
|
|
deploy_key
|
|
project
|
|
|
|
trait :write_access do
|
|
can_push true
|
|
end
|
|
end
|
|
end
|