Autoformat code with rubocop

This commit is contained in:
Nelson Jovel 2022-03-04 15:29:54 +01:00
parent 68dde8a6ef
commit ed7a3b8a3d
43 changed files with 112 additions and 114 deletions

View file

@ -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

View file

@ -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