summaryrefslogtreecommitdiff
path: root/spec/factories/events.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/events.rb')
-rw-r--r--spec/factories/events.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/events.rb b/spec/factories/events.rb
index d182dc9f95f..403165a3935 100644
--- a/spec/factories/events.rb
+++ b/spec/factories/events.rb
@@ -59,6 +59,11 @@ FactoryBot.define do
target { design }
end
+ factory :design_updated_event, traits: [:has_design] do
+ action { :updated }
+ target { design }
+ end
+
factory :project_created_event do
project factory: :project
action { :created }