The personal finance app for everyone
Assert redirection in registration test
Jose Farias5eb6418f01f6
diff --git a/test/controllers/registrations_controller_test.rb b/test/controllers/registrations_controller_test.rbindex c32f2c79..4c33cc6e 100644--- a/test/controllers/registrations_controller_test.rb+++ b/test/controllers/registrations_controller_test.rb@@ -39,6 +39,7 @@ class RegistrationsControllerTest < ActionDispatch::IntegrationTestpassword: "password",password_confirmation: "password",invite_code: InviteCode.generate! } }+ assert_redirected_to root_urlendensureENV["HOSTED"] = nil