session creation
This commit is contained in:
parent
0b2bd70f16
commit
f8093d2c09
9 changed files with 63 additions and 3 deletions
|
@ -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' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue