Sha256: fee38825c7086c0f661a04181cd9502f83bd0d10584bfa6c9ce623d4ac060924

Contents?: true

Size: 946 Bytes

Versions: 28

Compression:

Stored size: 946 Bytes

Contents

FactoryBot.define do
  factory :questionnaire do
    first_name            { "John" }
    last_name             { "Doe" }
    phone                 { "(123) 456-7890" }
    international         { false }
    date_of_birth         { Date.today - 20.years }
    experience            { "first" }
    interest              { "design" }
    school_id             { create(:school).id }
    shirt_size            { "Unisex - M" }
    dietary_restrictions  { "" }
    special_needs         { "" }
    agreement_accepted    { true }
    code_of_conduct_accepted { true }
    data_sharing_accepted { true }
    can_share_info        { true }
    gender                { "Male" }
    major                 { "Computer Science" }
    level_of_study        { "University (Undergraduate)" }
    graduation_year       { Date.today.year }
    race_ethnicity        { "Other" }
    why_attend            { "This sounds cool" }

    association :user
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
hackathon_manager-0.11.0 test/factories/questionnaire.rb
hackathon_manager-0.10.3 test/factories/questionnaire.rb
hackathon_manager-0.10.2 test/factories/questionnaire.rb
hackathon_manager-0.10.1 test/factories/questionnaire.rb
hackathon_manager-0.10.0 test/factories/questionnaire.rb
hackathon_manager-0.9.2 test/factories/questionnaire.rb
hackathon_manager-0.9.1 test/factories/questionnaire.rb
hackathon_manager-0.9.0 test/factories/questionnaire.rb