mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 07:28:41 -07:00
Rename Student column to AllStudent so there isn't a naming clash with
the Student model.
This commit is contained in:
parent
93486eb132
commit
ff14bad102
5 changed files with 8 additions and 8 deletions
|
|
@ -13,7 +13,7 @@ module Analyze
|
|||
end
|
||||
|
||||
def columns
|
||||
[Student, Teacher, GroupedBarColumnPresenter]
|
||||
[AllStudent, AllTeacher, GroupedBarColumnPresenter]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ module Analyze
|
|||
Analyze::Graph::Column::MiddleEastern,
|
||||
Analyze::Graph::Column::Unknown,
|
||||
Analyze::Graph::Column::White,
|
||||
Analyze::Graph::Column::Student]
|
||||
Analyze::Graph::Column::AllStudent]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
module Analyze
|
||||
module Graph
|
||||
module Column
|
||||
class Student < GroupedBarColumnPresenter
|
||||
class AllStudent < GroupedBarColumnPresenter
|
||||
def label
|
||||
'All Students'
|
||||
end
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
module Analyze
|
||||
module Graph
|
||||
module Column
|
||||
class Teacher < GroupedBarColumnPresenter
|
||||
class AllTeacher < GroupedBarColumnPresenter
|
||||
def label
|
||||
'All Teachers'
|
||||
end
|
||||
|
|
@ -63,13 +63,13 @@ describe GroupedBarColumnPresenter do
|
|||
end
|
||||
|
||||
let(:student_presenter) do
|
||||
Analyze::Graph::Column::Student.new measure: measure_with_student_survey_items, school:, academic_years:,
|
||||
position: 0, number_of_columns: 3
|
||||
Analyze::Graph::Column::AllStudent.new measure: measure_with_student_survey_items, school:, academic_years:,
|
||||
position: 0, number_of_columns: 3
|
||||
end
|
||||
|
||||
let(:teacher_presenter) do
|
||||
Analyze::Graph::Column::Teacher.new measure: measure_with_teacher_survey_items, school:, academic_years:,
|
||||
position: 0, number_of_columns: 3
|
||||
Analyze::Graph::Column::AllTeacher.new measure: measure_with_teacher_survey_items, school:, academic_years:,
|
||||
position: 0, number_of_columns: 3
|
||||
end
|
||||
|
||||
let(:all_data_presenter) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue