Rename Student column to AllStudent so there isn't a naming clash with

the Student model.
pull/1/head
rebuilt 3 years ago
parent 93486eb132
commit ff14bad102

@ -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…
Cancel
Save