mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Add metadata for 2019-2020 school year. Finishes #181530277
This commit is contained in:
parent
6565f92682
commit
c98c0f1e30
4 changed files with 226 additions and 212 deletions
|
|
@ -1,4 +1,4 @@
|
|||
District,School Name,District Code,School Code,DESE School ID,HS?,Short Form Only (2020-21),School Closed In ,Total Students for Response Rate (2020-21),Total Teachers for Response Rate (2020-21)
|
||||
Attleboro,A. Irvin Studley Elementary School,1,7,160001,,X,,75,26.9
|
||||
Attleboro,Attleboro High School,1,1,160505,X,,,1792,114.7
|
||||
Boston,Samuel Adams Elementary School,2,1,350302,,,,79,28.4
|
||||
District,School Name,District Code,School Code,DESE School ID,HS?,Short Form Only (2020-21),School Closed In ,Total Students for Response Rate (2020-21),Total Teachers for Response Rate (2020-21),Total Students for Response Rate (2019-20),Total Teachers for Response Rate (2019-20)
|
||||
Attleboro,A. Irvin Studley Elementary School,1,7,160001,,X,,75,26.9,76,26.9
|
||||
Attleboro,Attleboro High School,1,1,160505,X,,,1792,114.7,1800,120
|
||||
Boston,Samuel Adams Elementary School,2,1,350302,,,,79,28.4,80,30
|
||||
|
|
|
|||
|
|
|
@ -120,6 +120,17 @@ describe Seeder do
|
|||
seeder.seed_respondents sample_districts_and_schools_csv
|
||||
end.to change { Respondent.count }.by(0)
|
||||
end
|
||||
|
||||
it 'seeds new respondents for every year in the database' do
|
||||
expect do
|
||||
seeder.seed_respondents sample_districts_and_schools_csv
|
||||
end.to change { Respondent.count }.by School.count
|
||||
|
||||
expect do
|
||||
create(:academic_year, range: '2019-20')
|
||||
seeder.seed_respondents sample_districts_and_schools_csv
|
||||
end.to change { Respondent.count }.by School.count
|
||||
end
|
||||
end
|
||||
|
||||
context 'surveys' do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue