donphan/spec/fabricators/action_log_fabricator.rb

8 lines
161 B
Ruby

# frozen_string_literal: true
Fabricator(:action_log, from: Admin::ActionLog) do
account { Fabricate.build(:account) }
action 'MyString'
target nil
end