mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 09:20:38 -07:00
working on aggregated results
This commit is contained in:
parent
f5b473ed28
commit
48eb55ad94
11 changed files with 120 additions and 8 deletions
|
|
@ -5,9 +5,11 @@ RSpec.describe AttemptsController, type: :controller do
|
|||
let(:valid_session) { {} }
|
||||
|
||||
let(:schedule) { Schedule.new }
|
||||
let(:recipient) { Recipient.create(name: 'Recipient', phone: '+11231231234') }
|
||||
let(:school) { School.create!(name: 'School') }
|
||||
let(:recipient) { Recipient.create!(name: 'Recipient', phone: '+11231231234') }
|
||||
let(:recipient_schedule) { RecipientSchedule.new }
|
||||
let(:question) { Question.new }
|
||||
let(:category) { Category.create!(name: 'Category') }
|
||||
let(:question) { create_questions(1, category).first }
|
||||
let!(:first_attempt) {
|
||||
Attempt.create(
|
||||
schedule: schedule,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue