mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
feat: Add language filter for parent analysis
This commit is contained in:
parent
3eda7beb59
commit
8e5e2a030a
8 changed files with 35 additions and 3 deletions
5
spec/models/language_spec.rb
Normal file
5
spec/models/language_spec.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Language, type: :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
end
|
||||
|
|
@ -91,6 +91,12 @@ describe SurveyResponsesDataLoader do
|
|||
]
|
||||
end
|
||||
|
||||
let(:housings) do
|
||||
create(:housing, designation: "Own")
|
||||
create(:housing, designation: "Rent")
|
||||
create(:housing, designation: "Unknown")
|
||||
end
|
||||
|
||||
let(:t_pcom_q3) { create(:survey_item, survey_item_id: "t-pcom-q3") }
|
||||
let(:t_pcom_q2) { create(:survey_item, survey_item_id: "t-pcom-q2") }
|
||||
let(:t_coll_q1) { create(:survey_item, survey_item_id: "t-coll-q1") }
|
||||
|
|
@ -136,6 +142,7 @@ describe SurveyResponsesDataLoader do
|
|||
school
|
||||
second_school
|
||||
butler_school
|
||||
housings
|
||||
t_pcom_q3
|
||||
t_pcom_q2
|
||||
t_coll_q1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue