Remove no longer needed valid_answers attribute from poll_question factory

This commit is contained in:
Bertocq
2017-10-18 01:22:15 +02:00
parent f05e5291b2
commit 9e22a1812f

View File

@@ -503,7 +503,6 @@ FactoryGirl.define do
poll poll
association :author, factory: :user association :author, factory: :user
sequence(:title) { |n| "Question title #{n}" } sequence(:title) { |n| "Question title #{n}" }
valid_answers { Faker::Lorem.words(3).join(', ') }
end end
factory :poll_question_answer, class: 'Poll::Question::Answer' do factory :poll_question_answer, class: 'Poll::Question::Answer' do