Check that the join code was copied to the membership

This commit is contained in:
Stanko K.R.
2025-11-05 12:09:47 +01:00
parent cfdd7ab1cb
commit 3f054c79dd
@@ -41,6 +41,8 @@ class JoinCodesControllerTest < ActionDispatch::IntegrationTest
end
end
assert_equal @join_code.code, Membership.last.join_code
assert_redirected_to session_magic_link_path
assert_equal landing_url(script_name: "/#{@tenant}"), session[:return_to_after_authenticating]
end