spree / spree_auth_devise

Provides authentication (user accounts, login & signup) for @spree by using Devise
https://spreecommerce.org
BSD 3-Clause "New" or "Revised" License
139 stars 494 forks source link

Overhaul Spec Tests #576

Open MatthewKennedy opened 1 year ago

MatthewKennedy commented 1 year ago

Fix Admin Sign Out spec, it was not testing the sign out from the admin side, rather it was logging in, redirecting to the frontend and logging back out again.

Now creates an admin user, logs into the admin, redirects to the admin as expected, and then logs out from the admin UI