sqm-dashboards/spec/views/legacy/schools/show.html.erb_spec.rb
Nelson Jovel ad03606d66 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
2021-12-28 14:10:34 +01:00

19 lines
552 B
Ruby

require 'rails_helper'
module Legacy
RSpec.describe 'legacy/schools/show', type: :view do
before(:each) do
@school_categories = []
@school = assign(:school, School.create!(
name: 'School',
district: District.create(name: 'District')
))
end
it 'renders attributes in <p>' do
render(template: 'legacy/schools/show')
expect(rendered).to match(/School/)
expect(rendered).to match(/District/)
end
end
end