How to Install ruby-shoulda-matchers in Ubuntu 18.04



Install ruby-shoulda-matchers by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-shoulda-matchers

Description:

Test helpers for Rails applications, compatible with Test::Unit and RSpec

Test::Unit- and RSpec-compatible one-liners that test common Rails functionality. These tests would otherwise be much longer, more complex, and error-prone.

Homepage: https://github.com/thoughtbot/shoulda-matchers

Version: 2.8.0-1

Section: universe/ruby