summaryrefslogtreecommitdiff
path: root/spec/factories/clusters/agents/activity_events.rb
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