mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
Autoformat code with rubocop
This commit is contained in:
parent
68dde8a6ef
commit
ed7a3b8a3d
43 changed files with 112 additions and 114 deletions
|
|
@ -2,7 +2,7 @@ require 'rails_helper'
|
|||
|
||||
describe 'authentication' do
|
||||
let(:district) { create(:district) }
|
||||
let(:school) { create(:school, district: district) }
|
||||
let(:school) { create(:school, district:) }
|
||||
let(:academic_year) { create(:academic_year) }
|
||||
|
||||
context 'when using the wrong credentials' do
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@ require 'rails_helper'
|
|||
|
||||
describe 'SQM Application' do
|
||||
let(:district) { create(:district) }
|
||||
let(:school) { create(:school, district: district) }
|
||||
let(:school) { create(:school, district:) }
|
||||
let(:academic_year) { create(:academic_year) }
|
||||
let(:category) { create(:category) }
|
||||
let(:measure) { create(:measure) }
|
||||
let(:scale) {create(:scale, measure:)}
|
||||
let(:scale) { create(:scale, measure:) }
|
||||
|
||||
before :each do
|
||||
driven_by :rack_test
|
||||
|
|
@ -30,7 +30,7 @@ describe 'SQM Application' do
|
|||
before :each do
|
||||
teacher_survey_item = create(:teacher_survey_item, scale:)
|
||||
create_list(:survey_item_response, SurveyItemResponse::TEACHER_RESPONSE_THRESHOLD,
|
||||
survey_item: teacher_survey_item, academic_year: academic_year, school: school)
|
||||
survey_item: teacher_survey_item, academic_year:, school:)
|
||||
end
|
||||
|
||||
it 'does not show a modal on any page' do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue