mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-22 14:49:38 +02:00
Assert redirection in registration test
This commit is contained in:
parent
6a4ab5664d
commit
5eb6418f01
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ class RegistrationsControllerTest < ActionDispatch::IntegrationTest
|
||||||
password: "password",
|
password: "password",
|
||||||
password_confirmation: "password",
|
password_confirmation: "password",
|
||||||
invite_code: InviteCode.generate! } }
|
invite_code: InviteCode.generate! } }
|
||||||
|
assert_redirected_to root_url
|
||||||
end
|
end
|
||||||
ensure
|
ensure
|
||||||
ENV["HOSTED"] = nil
|
ENV["HOSTED"] = nil
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue