@@ -17,7 +17,7 @@ Describe 'validate_vars_map'
1717
1818 It ' validates variables successfully when everything matches'
1919 local -A map
20- map[" <__RESPONSE_REQUIREMENTS__ >" ]=" SAMPLE_REQUIREMENTS "
20+ map[" <__RESPONSE_FORMAT_REQUIREMENTS__ >" ]=" SAMPLE_FORMAT_REQUIREMENTS "
2121 map[" <__GIT_DIFF__>" ]=" SAMPLE_DIFF"
2222 map[" <__VAR1__>" ]=" VAL1"
2323 map[" <__VAR2__>" ]=" VAL2"
@@ -31,7 +31,7 @@ Describe 'validate_vars_map'
3131
3232 It ' fails when a prompt is missing a custom variable present in the map'
3333 local -A map
34- map[" <__RESPONSE_REQUIREMENTS__ >" ]=" SAMPLE_REQUIREMENTS "
34+ map[" <__RESPONSE_FORMAT_REQUIREMENTS__ >" ]=" SAMPLE_FORMAT_REQUIREMENTS "
3535 map[" <__GIT_DIFF__>" ]=" SAMPLE_DIFF"
3636 map[" <__VAR1__>" ]=" VAL1"
3737 map[" <__VAR2__>" ]=" VAL2"
@@ -44,9 +44,9 @@ Describe 'validate_vars_map'
4444 The status should be failure
4545 End
4646
47- It ' fails when a prompt is missing mandatory template string RESPONSE_REQUIREMENTS in the prompt'
47+ It ' fails when a prompt is missing mandatory template string RESPONSE_FORMAT_REQUIREMENTS in the prompt'
4848 local -A map
49- map[" <__RESPONSE_REQUIREMENTS__ >" ]=" SAMPLE_REQUIREMENTS "
49+ map[" <__RESPONSE_FORMAT_REQUIREMENTS__ >" ]=" SAMPLE_FORMAT_REQUIREMENTS "
5050 map[" <__GIT_DIFF__>" ]=" SAMPLE_DIFF"
5151 map[" <__VAR1__>" ]=" VAL1"
5252 map[" <__VAR2__>" ]=" VAL2"
@@ -55,13 +55,13 @@ Describe 'validate_vars_map'
5555 local variables_file_path=" /path/to/variables.yaml"
5656 local prompt=" $( cat spec/samples/sample-prompt-missing-requirements.md) "
5757 When call validate_vars_map map " $prompt "
58- The stderr should eq " Error: key '<__RESPONSE_REQUIREMENTS__ >' is essential for cfme to function, but not present in the prompt."
58+ The stderr should eq " Error: key '<__RESPONSE_FORMAT_REQUIREMENTS__ >' is essential for cfme to function, but not present in the prompt."
5959 The status should be failure
6060 End
6161
6262 It ' fails when a prompt is missing mandatory template string GIT_DIFF in the prompt'
6363 local -A map
64- map[" <__RESPONSE_REQUIREMENTS__ >" ]=" SAMPLE_REQUIREMENTS "
64+ map[" <__RESPONSE_FORMAT_REQUIREMENTS__ >" ]=" SAMPLE_FORMAT_REQUIREMENTS "
6565 map[" <__GIT_DIFF__>" ]=" SAMPLE_DIFF"
6666 map[" <__VAR1__>" ]=" VAL1"
6767 map[" <__VAR2__>" ]=" VAL2"
@@ -76,7 +76,7 @@ Describe 'validate_vars_map'
7676
7777 It ' fails when a map is missing a variable present in the prompt'
7878 local -A map
79- map[" <__RESPONSE_REQUIREMENTS__ >" ]=" SAMPLE_REQUIREMENTS "
79+ map[" <__RESPONSE_FORMAT_REQUIREMENTS__ >" ]=" SAMPLE_FORMAT_REQUIREMENTS "
8080 map[" <__GIT_DIFF__>" ]=" SAMPLE_DIFF"
8181
8282 map[" <__VAR2__>" ]=" VAL2"
0 commit comments