fix: Makes visible the graphs by grade

This commit is contained in:
Nelson Jovel 2024-03-26 14:54:20 -07:00
parent 49a838c060
commit 5fc83ac31b
3 changed files with 5 additions and 6 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(grades: nil).to_s
expect(presenter.graph.to_s).to eq Analyze::Graph::StudentsByGrade.new.to_s
params = { graph: "students-by-gender" }
presenter = Analyze::Presenter.new(params:, school:, academic_year:)