Fix rubocop offenses

This commit is contained in:
Sebastian Serth
2022-09-16 01:03:55 +02:00
parent 03cc71ccbc
commit 7e9967e2bf

View File

@ -47,11 +47,13 @@ describe ApplicationController do
context 'with an admin' do
let(:user) { create(:admin) }
expect_flash_message(:alert, I18n.t('application.not_found'))
end
context 'with a teacher' do
let(:user) { create(:teacher) }
expect_flash_message(:alert, I18n.t('application.not_authorized'))
end
end