Fix failing tests and improve email template consistency
- Fix onboarding controller test by using consistent application name - Fix ticket mailer template error by correcting variable reference (@user.first_name) - Update event reminder template to use configurable app name - Refactor mailer tests to properly handle multipart email content - Update test assertions to match actual template content - Remove duplicate migration for onboarding field - Add documentation for test fixes and solutions
This commit is contained in:
@@ -42,7 +42,7 @@ class OnboardingControllerTest < ActionDispatch::IntegrationTest
|
||||
|
||||
assert_redirected_to dashboard_path
|
||||
follow_redirect!
|
||||
assert_select ".notification", /Bienvenue sur AperoNight/
|
||||
assert_select ".notification", /Bienvenue sur Aperonight/
|
||||
|
||||
@user_without_onboarding.reload
|
||||
assert @user_without_onboarding.onboarding_completed?
|
||||
|
||||
Reference in New Issue
Block a user