RSpec Rails
CommunityMaster Rails testing with focused RSpec specs.
Authorbastos
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Rails apps require disciplined, consistent testing practices; this skill guides you in applying RSpec effectively across models, controllers and requests, system tests, and mailers, reducing debugging time and improving reliability.
Core Features & Use Cases
- Clear guidance on available RSpec spec types (Model, Request/Controller, System, Mailer, Job, View, Helper, Routing) and their ideal locations.
- Practical examples and conventions for structuring specs in a Rails project and common workflows.
- Real-world use cases illustrating how to test validations, endpoints, UI flows, and mailers with RSpec.
Quick Start
Follow the examples to boot a Rails spec suite by creating a sample model spec in spec/models and a request spec in spec/requests, then run rspec.
Dependency Matrix
Required Modules
None requiredComponents
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: RSpec Rails Download link: https://github.com/bastos/ruby-plugin-marketplace/archive/main.zip#rspec-rails Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.