Display a helpful error message when join code is exhausted
ref: https://app.fizzy.do/5986089/cards/3015
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user