
from inertia-rails-skills35
Testing guide and helpers for Inertia Rails apps — RSpec/Minitest matchers and examples for Inertia responses, components, props, flashes, and partial reloads.
Inertia Rails Testing provides a thorough, hands-on reference for testing Inertia-based Rails applications. It documents setup steps for RSpec and Minitest, custom matchers and assertions (be_inertia_response, render_component, have_props, have_flash, have_deferred_props, etc.), and concrete request, system, and integration examples. The skill includes guidance for client-side component testing (Vitest/Jest) and end-to-end tests with Capybara.
Use this skill whenever you need to write or maintain tests for an Inertia Rails app — verifying server-side Inertia responses, component rendering, prop contents, deferred props behavior, and partial reloads. It is useful during test authoring, migration to Inertia patterns, or when adding robust E2E coverage.
Fits developer-assistant agents that can modify tests and run CI/test commands (Copilot-style assistants, Claude Code helpers, or other code-focused agents).
This skill has not been reviewed by our automated audit pipeline yet.