Apply automatic rubocop fixes

This commit is contained in:
Sebastian Serth
2021-06-25 14:41:49 +02:00
parent 03b46cefb0
commit e7cf4ef5db
6 changed files with 42 additions and 40 deletions

View File

@ -33,8 +33,6 @@ describe SessionsController do
let(:exercise2) { FactoryBot.create(:dummy) }
let(:nonce) { SecureRandom.hex }
before { I18n.locale = I18n.default_locale }
context 'without OAuth parameters' do
it 'refuses the LTI launch' do
expect(controller).to receive(:refuse_lti_launch).with(message: I18n.t('sessions.oauth.missing_parameters')).and_call_original