Skip to content

UrlGenerationError in Preview #1809

Closed Answered by crespire
crespire asked this question in Q&A
Discussion options

You must be logged in to vote

One solution I thought of was instead of using the Rails path helper inside the component, to just string interpolate the path given the information in the component, but that seems like a bad solution.

As I think through this more, it does feel like I should just opt to go with a focused system test of the component, rather than try to leverage the preview in the first place.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by crespire
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant