Install ruby-webmock by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-webmock
Description:
library for stubbing HTTP requests in Ruby
WebMock allows stubbing HTTP requests and setting expectations on HTTP requests. . Features . * Stubbing HTTP requests at low http client lib level (no need to change tests when you change HTTP library). * Setting and verifying expectations on HTTP requests. * Matching requests based on method, URI, headers and body. * Smart matching of the same URIs in different representations (also encoded and non encoded forms). * Smart matching of the same headers in different representations.
Homepage: http://github.com/bblimke/webmock
Version: 3.0.1-1
Section: universe/ruby