mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-10 16:00:33 -07:00
Calculate benchmarks for measures based on a weighted average of survey and admin data items Added architectural records
20 lines
684 B
Ruby
20 lines
684 B
Ruby
require 'rails_helper'
|
|
|
|
module Legacy
|
|
RSpec.describe 'legacy/question_lists/show', type: :view do
|
|
before(:each) do
|
|
@question_list = assign(:question_list, QuestionList.create!(
|
|
name: 'Name',
|
|
description: 'MyText',
|
|
question_ids: 'MyText'
|
|
))
|
|
end
|
|
|
|
it 'renders attributes in <p>' do
|
|
render(template: 'legacy/question_lists/show')
|
|
expect(rendered).to match(/Name/)
|
|
expect(rendered).to match(/MyText/)
|
|
expect(rendered).to match(/MyText/)
|
|
end
|
|
end
|
|
end
|