Install ruby-rspec-rails by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-rspec-rails
Description:
RSpec for Rails 3+
This package provides an extension of RSpec, a behaviour driven development framework for Ruby, to work with Ruby on Rails, the famous MVC Ruby bases framework geared for web application development.
Homepage: https://github.com/rspec/rspec-rails
Version: 3.7.2-1
Section: universe/ruby