Merge pull request #2213 from basecamp/welcome-letter

Stub welcome letter for newly created accounts
This commit is contained in:
Jason Zimdars
2025-12-22 10:17:41 -06:00
committed by GitHub
10 changed files with 77 additions and 1 deletions
@@ -29,6 +29,18 @@ class Signup::CompletionsControllerTest < ActionDispatch::IntegrationTest
assert_response :redirect, "Valid params should redirect"
end
test "shows welcome letter after signup" do
untenanted do
post signup_completion_path, params: {
signup: {
full_name: @signup.full_name
}
}
end
assert flash[:welcome_letter]
end
test "create with blank name" do
untenanted do
post signup_completion_path, params: {