Merge pull request #2213 from basecamp/welcome-letter
Stub welcome letter for newly created accounts
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user