Testing with RSpec

Learn to test code with RSpec

We'll cover the following

Overview

RSpec is an alternative to MiniTest, which Rails uses. It’s different in almost every way, and many developers prefer it. Here’s what one of our existing tests might look like when written in RSpec:

Get hands-on with 1200+ tech skills courses.