Webmock-Symbol-Http-Status

CircleCI

You can use symbol http status in webmock.

Requirements

  • Ruby 2.4.2 or higher

Instlattion

Add this line to your application's Gemfile:

gem 'webmock-symbol-http-status'

Usage

stub_request(:get, 'www.example.com').
  to_return(status: :ok)