mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Assert redirection in registration test
This commit is contained in:
@@ -39,6 +39,7 @@ class RegistrationsControllerTest < ActionDispatch::IntegrationTest
|
||||
password: "password",
|
||||
password_confirmation: "password",
|
||||
invite_code: InviteCode.generate! } }
|
||||
assert_redirected_to root_url
|
||||
end
|
||||
ensure
|
||||
ENV["HOSTED"] = nil
|
||||
|
||||
Reference in New Issue
Block a user