webmock body json issues code example
Example: WebMock::Response::InvalidBody: must be one of: [Proc, IO, Pathname, String, Array]. 'Hash' given
{ email: "[email protected]", name: "Petros" }.to_json
{ email: "[email protected]", name: "Petros" }.to_json