RSpec Matchers
Installation
SKILL.md
RSpec Matchers
Matchers are the building blocks of RSpec expectations. They define what you're testing and how values should compare.
Basic Syntax
expect(actual).to matcher(expected)
expect(actual).not_to matcher(expected) # or to_not
Equality Matchers
eq - Value Equality
Tests value equality using ==: