mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 13:19:39 +02:00
Use DB for auth sessions (#1233)
* DB sessions * Validations for profile image
This commit is contained in:
parent
82c298307d
commit
1ffa13f3b3
27 changed files with 118 additions and 76 deletions
|
@ -49,7 +49,7 @@ module ActiveSupport
|
|||
|
||||
# Add more helper methods to be used by all tests here...
|
||||
def sign_in(user)
|
||||
post session_path, params: { email: user.email, password: "password" }
|
||||
post sessions_path, params: { email: user.email, password: "password" }
|
||||
end
|
||||
|
||||
def with_env_overrides(overrides = {}, &block)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue