aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories/events.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/events.rb')
-rw-r--r--spec/factories/events.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/factories/events.rb b/spec/factories/events.rb
new file mode 100644
index 0000000..8fbba83
--- /dev/null
+++ b/spec/factories/events.rb
@@ -0,0 +1,11 @@
+FactoryBot.define do
+ factory :event do
+ name { "MyString" }
+ date { "2023-12-20" }
+ organisation
+ end
+
+ factory :organisation do
+ name { "Smersh" }
+ end
+end