Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix related link text for all modes #2165

Merged
merged 2 commits into from
Aug 29, 2024
Merged

Fix related link text for all modes #2165

merged 2 commits into from
Aug 29, 2024

Conversation

anthonyshull
Copy link
Contributor

@anthonyshull anthonyshull requested a review from a team as a code owner August 29, 2024 13:26
Comment on lines -45 to +47
assert text(route_link) == "Route #{route.name} schedules"
assert text(route_link) == "#{route.name} Bus schedules"
else
assert text(route_link) == "#{route.name} schedules"
assert text(route_link) == "#{route.long_name} schedules"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📓 Tests like this make me cringe since it's basically replicating the logic of the code. But, 🤷 .

@anthonyshull anthonyshull merged commit 0258dd1 into main Aug 29, 2024
17 checks passed
@anthonyshull anthonyshull deleted the ags/related-links branch August 29, 2024 14:10
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