How to Install ruby-json-spec in Ubuntu 18.04



Install ruby-json-spec by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-json-spec

Description:

Ruby library that provides JSON helpers for RSpec and Cucumber

json_spec provides useful RSpec (testing tool for the Ruby language) matchers and Cucumber (tool to validate acceptance tests written in a behavior-driven development (BDD) styles) steps for testing JSON content. . It eases the testing of API-centric projects.

Homepage: https://github.com/collectiveidea/json_spec

Version: 1.1.5-1

Section: universe/ruby