Installing RSpec
Learn how to install RSpec.
RSpec Gemfile
Before we start testing, we’ll need to load RSpec, our testing library.
To add RSpec to a Rails project, we’ll add the rspec-rails
gem to the Gemfile
:
Get hands-on with 1300+ tech skills courses.