diff options
Diffstat (limited to 'spec/factories/events.rb')
-rw-r--r-- | spec/factories/events.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/factories/events.rb b/spec/factories/events.rb index 8fbba83..aaaae0a 100644 --- a/spec/factories/events.rb +++ b/spec/factories/events.rb @@ -1,11 +1,11 @@ FactoryBot.define do factory :event do name { "MyString" } - date { "2023-12-20" } - organisation + date { Faker::Date.backward(days: 10) } + organisation_id { "1" } end - factory :organisation do - name { "Smersh" } - end + # factory :organisation do + # name { "Smersh" } + # end end |