Welcome to mirror list, hosted at ThFree Co, Russian Federation.

activity_events.rb « agents « clusters « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ff73f617964260023686d64bf72b65bd6d1744c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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