gitlab-org--gitlab-foss/spec/factories/clusters/agents/activity_events.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
338 B
Ruby
Raw Normal View History

# frozen_string_literal: true
FactoryBot.define do
factory :agent_activity_event, class: 'Clusters::Agents::ActivityEvent' do
association :agent, factory: :cluster_agent
association :agent_token, factory: :cluster_agent_token
user
kind { :token_created }
level { :info }
recorded_at { Time.current }
end
end