spree_auth_devise
spree_auth_devise copied to clipboard
Overhaul Spec Tests
- Ensure locale is set back to
:enafter tests that change the locale to:fr. - Rename
log_outtolog_out_via_frontend_user_menuto avoid tests on admin side using it by mistake. - Update some old tests to modern Rspec syntax.
- Lint some files (mostly to re-run tests).
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