Newer
Older
dmpopidor / test / fixtures / answer_options.yml
# Produces:
# -----------------------------
#   A selection for the 2nd option available when the question format is Checkbox or Dropdown. 
#         selects both options for MultiSelect and RadioButton
#
test_project_1_plan_1_answer_for_check_box_question_option_2:
  answer: test_project_1_plan_1_answer_for_check_box_question
  option: funder_template_2_phase_1_version_1_section_1_question_check_box_option_2

test_project_1_plan_1_answer_for_dropdown_question_option_2:
  answer: test_project_1_plan_1_answer_for_dropdown_question
  option: funder_template_2_phase_1_version_1_section_1_question_dropdown_option_2

test_project_1_plan_1_answer_for_multi_select_box_question_option_<%= n %>:
  answer: test_project_1_plan_1_answer_for_multi_select_box_question
  option: funder_template_2_phase_1_version_1_section_1_question_multi_select_box_option_<%= n %>

<% 2.times.each do |n| %>
test_project_1_plan_1_answer_for_radio_button_question_option_<%= n %>:
  answer: test_project_1_plan_1_answer_for_radio_button_question
  option: funder_template_2_phase_1_version_1_section_1_question_radio_button_option_<%= n %>

test_project_1_plan_1_answer_for_multi_select_box_question_option_<%= n %>:
  answer: test_project_1_plan_1_answer_for_multi_select_box_question
  option: funder_template_2_phase_1_version_1_section_1_question_multi_select_box_option_<%= n %>
<% end %>