mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-08 07:43:49 -04:00
Path remains same after sign out for our test cases
This commit is contained in:
@@ -22,8 +22,7 @@ feature "signout" do
|
||||
fill_in 'Password', with: member.password
|
||||
click_button 'Sign in'
|
||||
expect(page).to have_http_status(200)
|
||||
# path has params removed after signin
|
||||
expect(current_path).to eq path.split('?')[0]
|
||||
expect(current_path).to eq path
|
||||
click_link 'Sign out'
|
||||
expect(page).to have_http_status(200)
|
||||
expect(current_path).to eq new_member_session_path
|
||||
|
||||
Reference in New Issue
Block a user