mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
singularize respondents
This commit is contained in:
parent
7915a1bc7c
commit
20d4f966e7
1 changed files with 8 additions and 8 deletions
|
|
@ -43,15 +43,15 @@ describe 'District Admin', js: true do
|
|||
# let(:username) { 'winchester' }
|
||||
# let(:password) { 'winchester!' }
|
||||
let(:respondents) do
|
||||
respondents = Respondent.where(school:, academic_year: ay_2021_22).first
|
||||
respondents.total_students = 8
|
||||
respondents.total_teachers = 8
|
||||
respondents.save
|
||||
respondent = create(:respondent, school:, academic_year: ay_2021_22)
|
||||
respondent.total_students = 8
|
||||
respondent.total_teachers = 8
|
||||
respondent.save
|
||||
|
||||
respondents = Respondent.where(school:, academic_year: ay_2019_20).first
|
||||
respondents.total_students = 8
|
||||
respondents.total_teachers = 8
|
||||
respondents.save
|
||||
respondent = create(:respondent, school:, academic_year: ay_2019_20)
|
||||
respondent.total_students = 8
|
||||
respondent.total_teachers = 8
|
||||
respondent.save
|
||||
end
|
||||
|
||||
before :each do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue