Display a helpful error message when join code is exhausted

ref: https://app.fizzy.do/5986089/cards/3015
This commit is contained in:
Mike Dalessio
2025-11-19 15:49:58 -05:00
parent 1382920e9b
commit c53b56c1db
3 changed files with 23 additions and 3 deletions
@@ -24,7 +24,8 @@ class JoinCodesControllerTest < ActionDispatch::IntegrationTest
get join_path(code: @join_code.code, script_name: @account.slug)
assert_response :not_found
assert_response :gone
assert_in_body "This join code has no invitations left on it"
end
test "create" do