mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Fix failing tests
This commit is contained in:
parent
26f739090b
commit
93486eb132
7 changed files with 19 additions and 15 deletions
|
|
@ -1,5 +1,6 @@
|
|||
require 'rails_helper'
|
||||
include AnalyzeHelper
|
||||
include Analyze::Graph::Column
|
||||
|
||||
describe GroupedBarColumnPresenter do
|
||||
let(:school) { create(:school) }
|
||||
|
|
@ -62,18 +63,18 @@ describe GroupedBarColumnPresenter do
|
|||
end
|
||||
|
||||
let(:student_presenter) do
|
||||
StudentGroupedBarColumnPresenter.new measure: measure_with_student_survey_items, school:, academic_years:,
|
||||
position: 0
|
||||
Analyze::Graph::Column::Student.new measure: measure_with_student_survey_items, school:, academic_years:,
|
||||
position: 0, number_of_columns: 3
|
||||
end
|
||||
|
||||
let(:teacher_presenter) do
|
||||
TeacherGroupedBarColumnPresenter.new measure: measure_with_teacher_survey_items, school:, academic_years:,
|
||||
position: 0
|
||||
Analyze::Graph::Column::Teacher.new measure: measure_with_teacher_survey_items, school:, academic_years:,
|
||||
position: 0, number_of_columns: 3
|
||||
end
|
||||
|
||||
let(:all_data_presenter) do
|
||||
GroupedBarColumnPresenter.new measure: measure_composed_of_student_and_teacher_items, school:, academic_years:,
|
||||
position: 0
|
||||
position: 0, number_of_columns: 3
|
||||
end
|
||||
|
||||
before do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue