Skip to content

Add test coverage for application title helpers#9533

Merged
aduth merged 6 commits intomainfrom
aduth-missing-title-tests
Nov 3, 2023
Merged

Add test coverage for application title helpers#9533
aduth merged 6 commits intomainfrom
aduth-missing-title-tests

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Nov 3, 2023

🛠 Summary of changes

Adds test coverage for title-related helpers in ApplicationHelper.

Also enables raise_on_missing_error in development and test environments by default, to help surface issues sooner.

📜 Testing Plan

Verify tests pass: spec/helpers/application_helper_spec.rb

Verify missing title raises in local development:

  1. Remove
    <% self.title = t('titles.visitors.index') %>
  2. Visit http://localhost:3000
  3. See error

aduth added 2 commits November 3, 2023 09:00
changelog: Internal, Accessibility, Hide missing title errors from user
@aduth aduth requested a review from mitchellhenke November 3, 2023 13:02
@aduth aduth merged commit 78621bb into main Nov 3, 2023
@aduth aduth deleted the aduth-missing-title-tests branch November 3, 2023 14:36
@matthinz matthinz mentioned this pull request Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants