Skip to content

armgit / maybe

Public Imported from GitHub
0

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.rb
index c32f2c79..4c33cc6e 100644
--- a/test/controllers/registrations_controller_test.rb
+++ b/test/controllers/registrations_controller_test.rb
@@ -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