Add reminder feature
This commit is contained in:
8
spec/factories/reminders.rb
Normal file
8
spec/factories/reminders.rb
Normal file
@ -0,0 +1,8 @@
|
||||
FactoryBot.define do
|
||||
factory :reminder do
|
||||
title { 'TitleTestMsg' }
|
||||
body { 'BodyTestMsg' }
|
||||
date { '2020-02-20 02:02:02' }
|
||||
user
|
||||
end
|
||||
end
|
@ -1,5 +1,6 @@
|
||||
FactoryBot.define do
|
||||
factory :user do
|
||||
|
||||
email { 'test@example.com' }
|
||||
password { '123456' }
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user