Files
codeocean/spec/factories/runner.rb
Sebastian Serth a1941336d9 Fix Runner access for programming groups
* We also rename the corresponding columns in the Runner model, so that for polymorphic association gets clear.
2023-08-24 19:32:06 +02:00

11 lines
285 B
Ruby

# frozen_string_literal: true
# This factory does not request the runner management as the id is already provided.
FactoryBot.define do
factory :runner do
runner_id { SecureRandom.uuid }
execution_environment factory: :ruby
contributor factory: :external_user
end
end