mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
Visualize survey responses even when a response rate cannot be
calculated. Set the response rate to N / A for data that has no total student and teacher data for a certain year and school
This commit is contained in:
parent
c0a8905fba
commit
91308b93e5
5 changed files with 47 additions and 11 deletions
|
|
@ -68,11 +68,11 @@ describe SubcategoryPresenter do
|
|||
end
|
||||
|
||||
it 'returns the student response rate' do
|
||||
expect(subcategory_presenter.student_response_rate).to eq 25
|
||||
expect(subcategory_presenter.student_response_rate).to eq "25%"
|
||||
end
|
||||
|
||||
it 'returns the teacher response rate' do
|
||||
expect(subcategory_presenter.teacher_response_rate).to eq 50
|
||||
expect(subcategory_presenter.teacher_response_rate).to eq "50%"
|
||||
end
|
||||
|
||||
it 'returns the admin collection rate' do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue