assert-inertia-pages
Testing & QualityEquips the agent to write request-level tests for Rails actions that render Inertia.js pages, in RSpec or Minitest. Covers component assertions, partial, exact, and absent props, shared inertia_share data, flash after redirects, deferred prop registration, partial reload simulation, and inertia_location hand-offs. Favors the library matchers and assertions over raw payload access and requires following redirects before asserting page content. Use when writing, reviewing, or debugging request specs or integration tests for Inertia pages, or when component, prop, or flash assertions fail after controller changes. Not for testing the Inertia.js client, front-end components, or Rails apps that do not use Inertia.
- Version
- v1.0.0
- Size
- 15 KB
- Updated
- 2026-10-10
$ skilvault read --manual assert-inertia-pagesYour client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.