Add failing tests for survey creation and response
Removes optional attributes from default survey factory.
This commit is contained in:
parent
ed8a2696bb
commit
51e65003bd
2 changed files with 55 additions and 2 deletions
|
|
@ -3,8 +3,6 @@
|
|||
FactoryBot.define do
|
||||
factory :survey do
|
||||
title { 'This is my survey' }
|
||||
start_date { Date.current - 1.day }
|
||||
end_date { Date.current + 1.day }
|
||||
|
||||
factory :conference_survey do
|
||||
association :surveyable, factory: :conference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue