session creation

This commit is contained in:
Karol Selak 2021-03-20 20:02:37 +01:00
parent 0b2bd70f16
commit f8093d2c09
9 changed files with 63 additions and 3 deletions

View file

@ -8,6 +8,11 @@ RSpec.describe SessionsController do
end
end
describe 'get create' do
# TODO test session status
subject { get 'create' }
it 'redirects to /welcome' do
expect(subject).to redirect_to('/welcome')
end
end
describe 'get welcome' do
subject { get 'welcome' }