diff --git a/test/fixtures/guidance_groups.yml b/test/fixtures/guidance_groups.yml index 0bab4c8..ce3dbdd 100644 --- a/test/fixtures/guidance_groups.yml +++ b/test/fixtures/guidance_groups.yml @@ -44,4 +44,10 @@ guidances: bu_institution_guidance_2 dmptemplates: bu_template +institution_guidance_group_5: + name: "institution child guidance group 1" + organisation: institution_child_one +institution_guidance_group_6: + name: "institution child guidance group 2" + organisation: institution_child_one diff --git a/test/fixtures/option_warnings.yml b/test/fixtures/option_warnings.yml index 97c8505..1a67380 100644 --- a/test/fixtures/option_warnings.yml +++ b/test/fixtures/option_warnings.yml @@ -1,40 +1,40 @@ -#single_select_1_warning: -# option: single_select_1 -# organisation: uog -# text: This warning should display when option 1 of the single item select box example is selected for a project at the University of Glasgow -# -#single_select_2_warning: -# option: single_select_2 -# organisation: hatii -# text: This warning should display when option 2 of the single item select box example is selected for a project at HATII -# -# -#multiple_select_3_warning: -# option: multiple_select_3 -# organisation: uoe -# text: This warning should display when option 3 of the multiple item select box example is selected for a project at the University of Edinburgh -# -#multiple_select_4_warning: -# option: multiple_select_4 -# organisation: uoe_si -# text: This warning should display when option 4 of the multiple item select box example is selected for a project at the School of Informatics -# -#radio_button_1_warning: -# option: radio_button_1 -# organisation: uog -# text: This warning should display when option 1 of the radio button example is selected for a project at the University of Glasgow -# -#radio_button_2_warning: -# option: radio_button_2 -# organisation: hatii -# text: This warning should display when option 2 of the radio button example is selected for a project at HATII -# -#checkbox_3_warning: -# option: checkbox_3 -# organisation: uoe -# text: This warning should display when option 3 of the checkbox example is selected for a project at the University of Edinburgh -# -#checkbox_4_warning: -# option: checkbox_4 -# organisation: uoe_si -# text: This warning should display when option 4 of the checkbox example is selected for a project at the School of Informatics \ No newline at end of file +single_select_1_warning: + option: single_select_1 + organisation: uog + text: This warning should display when option 1 of the single item select box example is selected for a project at the University of Glasgow + +single_select_2_warning: + option: single_select_2 + organisation: hatii + text: This warning should display when option 2 of the single item select box example is selected for a project at HATII + + +multiple_select_3_warning: + option: multiple_select_3 + organisation: uoe + text: This warning should display when option 3 of the multiple item select box example is selected for a project at the University of Edinburgh + +multiple_select_4_warning: + option: multiple_select_4 + organisation: uoe_si + text: This warning should display when option 4 of the multiple item select box example is selected for a project at the School of Informatics + +radio_button_1_warning: + option: radio_button_1 + organisation: uog + text: This warning should display when option 1 of the radio button example is selected for a project at the University of Glasgow + +radio_button_2_warning: + option: radio_button_2 + organisation: hatii + text: This warning should display when option 2 of the radio button example is selected for a project at HATII + +checkbox_3_warning: + option: checkbox_3 + organisation: uoe + text: This warning should display when option 3 of the checkbox example is selected for a project at the University of Edinburgh + +checkbox_4_warning: + option: checkbox_4 + organisation: uoe_si + text: This warning should display when option 4 of the checkbox example is selected for a project at the School of Informatics \ No newline at end of file diff --git a/test/fixtures/options.yml b/test/fixtures/options.yml index e3bc074..866aaf3 100644 --- a/test/fixtures/options.yml +++ b/test/fixtures/options.yml @@ -1,82 +1,82 @@ -#single_select_1: -# question: single_select_box -# text: Option 1 -# number: 1 -# -#single_select_2: -# question: single_select_box -# text: Option 2 -# number: 2 -# -#single_select_3: -# question: single_select_box -# text: Option 3 -# number: 3 -# -#single_select_4: -# question: single_select_box -# text: Option 4 -# number: 4 -# -#multiple_select_1: -# question: multiple_select_box -# text: Option 1 -# number: 1 -# -#multiple_select_2: -# question: multiple_select_box -# text: Option 2 -# number: 2 -# -#multiple_select_3: -# question: multiple_select_box -# text: Option 3 -# number: 3 -# -#multiple_select_4: -# question: multiple_select_box -# text: Option 4 -# number: 4 -# -#radio_button_1: -# question: radio_button -# text: Option 1 -# number: 1 -# -#radio_button_2: -# question: radio_button -# text: Option 2 -# number: 2 -# -#radio_button_3: -# question: radio_button -# text: Option 3 -# number: 3 -# -#radio_button_4: -# question: radio_button -# text: Option 4 -# number: 4 -# -#checkbox_1: -# question: checkbox -# text: Option 1 -# number: 1 -# -#checkbox_2: -# question: checkbox -# text: Option 2 -# number: 2 -# -#checkbox_3: -# question: checkbox -# text: Option 3 -# number: 3 -# -#checkbox_4: -# question: checkbox -# text: Option 4 -# number: 4 +single_select_1: + question: single_select_box + text: Option 1 + number: 1 + +single_select_2: + question: single_select_box + text: Option 2 + number: 2 + +single_select_3: + question: single_select_box + text: Option 3 + number: 3 + +single_select_4: + question: single_select_box + text: Option 4 + number: 4 + +multiple_select_1: + question: multiple_select_box + text: Option 1 + number: 1 + +multiple_select_2: + question: multiple_select_box + text: Option 2 + number: 2 + +multiple_select_3: + question: multiple_select_box + text: Option 3 + number: 3 + +multiple_select_4: + question: multiple_select_box + text: Option 4 + number: 4 + +radio_button_1: + question: radio_button + text: Option 1 + number: 1 + +radio_button_2: + question: radio_button + text: Option 2 + number: 2 + +radio_button_3: + question: radio_button + text: Option 3 + number: 3 + +radio_button_4: + question: radio_button + text: Option 4 + number: 4 + +checkbox_1: + question: checkbox + text: Option 1 + number: 1 + +checkbox_2: + question: checkbox + text: Option 2 + number: 2 + +checkbox_3: + question: checkbox + text: Option 3 + number: 3 + +checkbox_4: + question: checkbox + text: Option 4 + number: 4 mrc_5_2_yes: question: mrc_5_2 diff --git a/test/fixtures/sections.yml b/test/fixtures/sections.yml index f68a3c0..9adf97f 100644 --- a/test/fixtures/sections.yml +++ b/test/fixtures/sections.yml @@ -427,4 +427,16 @@ title: Required resources number: 7 version: wellcome_template_1_version_1 - organisation: wellcome \ No newline at end of file + organisation: wellcome + +institution_parent_1: + title: first section + number: 1 + version: institution_child_version_1 + organisation: institution_parent + +institution_parent_2: + title: seccond section + number: 2 + version: institution_child_version_1 + organisation: institution_parent \ No newline at end of file diff --git a/test/fixtures/versions.yml b/test/fixtures/versions.yml index cd91ab2..5a8d2f1 100644 --- a/test/fixtures/versions.yml +++ b/test/fixtures/versions.yml @@ -58,4 +58,10 @@ title: "Wellcome Trust Data Management Questions (Version 1)" published: 1 number: 1 - phase: wellcome_template_1 \ No newline at end of file + phase: wellcome_template_1 + +institution_child_version_1: + title: DCC Phase 1 Version 1 + published: 1 + number: 1 + phase: DCC_phase_1 \ No newline at end of file