RSpec Testing Patterns

Community

RSpec patterns for Rails apps.

AuthorKaakati
Version1.0.0
Installs0

System Documentation

What problem does it solve?

A comprehensive guide to testing Rails apps with RSpec, including factories, shared examples, mocks, and component tests.

Core Features & Use Cases

  • Directory structure for specs
  • Basic spec structures for models, services, controllers
  • Factories (FactoryBot) and shared examples
  • Testing ViewComponents and background jobs

Quick Start

Create a new spec file for a model and write a basic test to assert a validation.

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: RSpec Testing Patterns
Download link: https://github.com/Kaakati/rails-enterprise-dev/archive/main.zip#rspec-testing-patterns

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.