rubocop corrections

This commit is contained in:
Karol Selak 2021-03-22 03:16:29 +01:00
parent c63c6bc448
commit de29815686
72 changed files with 468 additions and 311 deletions

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe SessionsController do
@ -8,14 +10,14 @@ RSpec.describe SessionsController do
end
end
describe 'get create' do
# TODO test session status
# TODO: test session status
subject { get 'create' }
it 'redirects to /welcome' do
expect(subject).to redirect_to('/welcome')
end
end
describe 'get delete' do
# TODO test session status
# TODO: test session status
subject { get 'delete' }
it 'redirects to /welcome' do
expect(subject).to redirect_to('/welcome')
@ -27,4 +29,4 @@ RSpec.describe SessionsController do
expect(subject).to render_template('sessions/welcome')
end
end
end
end