This commit is contained in:
Karol Selak 2021-03-20 22:23:32 +01:00
parent f8093d2c09
commit 7412853a3e
4 changed files with 18 additions and 3 deletions

View file

@ -14,6 +14,13 @@ RSpec.describe SessionsController do
expect(subject).to redirect_to('/welcome')
end
end
describe 'get delete' do
# TODO test session status
subject { get 'delete' }
it 'redirects to /welcome' do
expect(subject).to redirect_to('/welcome')
end
end
describe 'get welcome' do
subject { get 'welcome' }
it 'renders the sessions/welcome template' do