mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 09:20:38 -07:00
Add benchmarks to survey and admin data items. Remove them from measures. Modify seeder
Calculate benchmarks for measures based on a weighted average of survey and admin data items Added architectural records
This commit is contained in:
parent
1a6c81e240
commit
ad03606d66
157 changed files with 2443 additions and 1932 deletions
|
|
@ -1,13 +1,13 @@
|
|||
require "rake"
|
||||
require 'rake'
|
||||
|
||||
shared_context "rake" do
|
||||
shared_context 'rake' do
|
||||
let(:rake) { Rake::Application.new }
|
||||
let(:task_name) { self.class.top_level_description }
|
||||
let(:task_path) { "lib/tasks/#{task_name.split(":").first}" }
|
||||
let(:task_path) { "lib/tasks/#{task_name.split(':').first}" }
|
||||
subject { rake[task_name] }
|
||||
|
||||
def loaded_files_excluding_current_rake_file
|
||||
$".reject {|file| file == Rails.root.join("#{task_path}.rake").to_s }
|
||||
$".reject { |file| file == Rails.root.join("#{task_path}.rake").to_s }
|
||||
end
|
||||
|
||||
before do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue