RSpec Matchers
CommunityMaster RSpec matchers for precise expectations.
Authorbastos
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Writing robust and readable tests in Ruby can be challenging when expressing expectations. This skill guides you through using RSpec matchers to clearly define what should be true, improving test clarity and maintainability.
Core Features & Use Cases
- Understand and apply built-in matchers like eq, eql, equal/be, and truthiness checks to verify values and identities.
- Use type, predicate, collection, and change matchers to assert complex conditions and state transitions.
- Create and employ custom matchers to encapsulate common expectations across models and services.
Quick Start
Write an example expect statement like expect(actual).to eq(expected) to begin validating behavior.
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 Matchers Download link: https://github.com/bastos/ruby-plugin-marketplace/archive/main.zip#rspec-matchers 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.