make sure spec tests what it's supposed to test; that the value of the responses gets updated when a new information is loaded from another csv

This commit is contained in:
rebuilt 2023-03-29 16:24:56 -07:00
parent 04f0abde55
commit 8bd65d367b
2 changed files with 6 additions and 6 deletions

View file

@ -132,9 +132,9 @@ describe SurveyResponsesDataLoader do
expect(SurveyItemResponse.where(response_id: 'student_survey_response_3',
survey_item: s_emsa_q1).first.likert_score).to eq 1
expect(SurveyItemResponse.where(response_id: 'student_survey_response_4',
survey_item: s_emsa_q1).first.likert_score).to eq 2
survey_item: s_emsa_q1).first.likert_score).to eq 1
expect(SurveyItemResponse.where(response_id: 'student_survey_response_5',
survey_item: s_emsa_q1).first.likert_score).to eq 2
survey_item: s_emsa_q1).first.likert_score).to eq 1
end
end
end