logout
This commit is contained in:
parent
f8093d2c09
commit
7412853a3e
4 changed files with 18 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue