mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 13:38:18 -08:00
fix: fix failing test
This commit is contained in:
parent
686e89d0ba
commit
874f29a384
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
module Report
|
||||
class Subcategory
|
||||
def self.create_report(schools: School.all.includes(:district), academic_years: AcademicYear.all, subcategories: ::Subcategory.all, filename: "subcategories.csv")
|
||||
csv = to_csv(schools:, academic_years:, subcategories:, filename:)
|
||||
csv = to_csv(schools:, academic_years:, subcategories:)
|
||||
FileUtils.mkdir_p Rails.root.join("tmp", "reports")
|
||||
filepath = Rails.root.join("tmp", "reports", filename)
|
||||
write_csv(csv:, filepath:)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue