mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-10 07:50:33 -07:00
Calculate benchmarks for measures based on a weighted average of survey and admin data items Added architectural records
18 lines
505 B
Ruby
18 lines
505 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.describe 'legacy/schools/edit', type: :view do
|
|
before(:each) do
|
|
@school = assign(:school, Legacy::School.create!(
|
|
name: 'MyString',
|
|
district_id: 1
|
|
))
|
|
end
|
|
|
|
it 'renders the edit school form' do
|
|
render
|
|
|
|
assert_select 'form[action=?][method=?]', legacy_school_path(@school), 'post' do
|
|
assert_select 'input#school_name[name=?]', 'school[name]'
|
|
end
|
|
end
|
|
end
|