Remove no longer needed valid_answers attribute from poll_question factory
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user