inertia-rails-testing

Community

Test Inertia Rails apps with RSpec and Minitest.

Authorcole-robertson
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers ensure Inertia Rails applications behave correctly by providing ready-to-run test patterns for server-side Inertia responses, component props, and flash messages.

Core Features & Use Cases

  • RSpec setup: guidance for validating Inertia responses, rendered components, and props in Rails request specs.
  • Minitest compatibility: examples and helpers to test Inertia components with Minitest.
  • Comprehensive scenarios: covers endpoint responses, client-side props, deferred props, flash messages, and partial reloads.

Quick Start

Initialize inertia-rails-testing in your Rails project and start by copying the example specs into spec/ and running bundle exec rspec or rake test to exercise server and client-side tests.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: inertia-rails-testing
Download link: https://github.com/cole-robertson/inertia-rails-skills/archive/main.zip#inertia-rails-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.