Revert "fix: Makes visible the graphs by grade"

This reverts commit 455f716b6d.
This commit is contained in:
Nelson Jovel 2024-03-26 15:32:34 -07:00
parent 455f716b6d
commit 993fafcc0e
3 changed files with 6 additions and 5 deletions

View file

@ -259,7 +259,7 @@ describe Analyze::Presenter do
params = {graph: "students-by-grade"}
presenter = Analyze::Presenter.new(params:, school:, academic_year:)
expect(presenter.graph.to_s).to eq Analyze::Graph::StudentsByGrade.new.to_s
expect(presenter.graph.to_s).to eq Analyze::Graph::StudentsByGrade.new(grades: nil).to_s
params = {graph: "students-by-gender"}
presenter = Analyze::Presenter.new(params:, school:, academic_year:)