Remove no longer needed valid_answers attribute from poll_question factory
This commit is contained in:
@@ -503,7 +503,6 @@ FactoryGirl.define do
|
||||
poll
|
||||
association :author, factory: :user
|
||||
sequence(:title) { |n| "Question title #{n}" }
|
||||
valid_answers { Faker::Lorem.words(3).join(', ') }
|
||||
end
|
||||
|
||||
factory :poll_question_answer, class: 'Poll::Question::Answer' do
|
||||
|
||||
Reference in New Issue
Block a user