Skip to content

Add gon_variables helper for controller specs#306

Open
willnet wants to merge 1 commit into
masterfrom
gon_variables
Open

Add gon_variables helper for controller specs#306
willnet wants to merge 1 commit into
masterfrom
gon_variables

Conversation

@willnet

@willnet willnet commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Store the request-local Gon::Request during controller test processing so gon variables can be inspected after Rails clears CurrentAttributes.

@willnet willnet force-pushed the gon_variables branch 10 times, most recently from 8dcb4ac to d00c413 Compare June 18, 2026 10:40
Store the request-local Gon::Request during controller test processing so gon variables can be inspected after Rails clears CurrentAttributes.
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.

1 participant