mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Extract legacy parts of the codebase into its own module
This commit is contained in:
parent
cf6e80ce6b
commit
413096dfe2
269 changed files with 5549 additions and 5279 deletions
|
|
@ -6,7 +6,7 @@ describe 'District Admin', js: true do
|
|||
let(:school) { School.find_by_slug 'winchester-high-school' }
|
||||
let(:school_in_same_district) { School.find_by_slug 'muraco-elementary-school' }
|
||||
|
||||
let(:category) { SqmCategory.find_by_name('Teachers & Leadership') }
|
||||
let(:category) { Category.find_by_name('Teachers & Leadership') }
|
||||
let(:subcategory) { Subcategory.find_by_name('Teachers & The Teaching Environment') }
|
||||
let(:measures_for_subcategory) { Measure.where(subcategory: subcategory) }
|
||||
let(:survey_items_for_subcategory) { SurveyItem.where(measure: measures_for_subcategory) }
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ describe 'SQM Application' do
|
|||
let(:district) { create(:district) }
|
||||
let(:school) { create(:school, district: district) }
|
||||
let(:academic_year) { create(:academic_year) }
|
||||
let(:category) { create(:sqm_category) }
|
||||
let(:category) { create(:category) }
|
||||
let(:measure) { create(:measure) }
|
||||
|
||||
before :each do
|
||||
|
|
@ -51,6 +51,6 @@ describe 'SQM Application' do
|
|||
end
|
||||
|
||||
def browse_path
|
||||
district_school_sqm_category_path(district, school, category, year: academic_year.range)
|
||||
district_school_category_path(district, school, category, year: academic_year.range)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue