inertia-rails-testing

Installation
SKILL.md

Inertia Rails Testing

Comprehensive guide to testing Inertia Rails applications with RSpec and Minitest.

Testing Approaches

  1. Endpoint tests - Verify server-side Inertia responses
  2. Client-side unit tests - Test components with Vitest/Jest
  3. End-to-end tests - Full browser testing with Capybara

RSpec Setup

Add to spec/rails_helper.rb:

require 'inertia_rails/rspec'

RSpec Matchers Reference

Related skills
Installs
53
GitHub Stars
32
First Seen
Jan 27, 2026