---
title: "Discussion on \"Using Mocha to stub external APIs with minitest.\" | Hashnode"
description: "Discussion on \"Using Mocha to stub external APIs with minitest.\". Recently at ProcurementExpress.com, I had to integrate Digital invoice-matching functionality, we decided to use Mindee, Which has an accurate and lightning-fast document parsing API.\nHere is the implementation we have done with Ruby on Rails. One sm..."
url: "https://hashnode.com/posts/using-mocha-to-stub-external-apis-with-minitest/64a7bf40aa6b0b26d60a4d43"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using Mocha to stub external APIs with minitest.](https://blog.przbadu.dev/using-mocha-to-stub-external-apis-with-minitest?utm_source=hashnode&utm_medium=feed)

Recently at ProcurementExpress.com, I had to integrate Digital invoice-matching functionality, we decided to use Mindee, Which has an accurate and lightning-fast document parsing API. Here is the implementation we have done with Ruby on Rails. One sm...

Jul 7, 2023 · 4 min read · blog.przbadu.dev  
Read the article

-   [#unit-testing](https://hashnode.com/tag/unit-testing)
-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#apis](https://hashnode.com/tag/apis)
-   [#mocha](https://hashnode.com/tag/mocha)

## Written by

[Pushpa Raj Badu](https://hashnode.com/@przbadu)

@przbadu

  
[View profile](https://hashnode.com/@przbadu)

Fullstack web developer

I am a full-stack Ruby on Rails developer with experience in PostgreSQL, Docker, Heroku, and performance optimization. I love exploring new technology stacks and have recently developed an interest in mobile app development using Flutter. My skills in test-driven development and fixing security vulnerabilities have helped me deliver high-quality, reliable code. I am also currently learning about machine learning and its applications in real-world problem-solving. I bring a unique combination of technical expertise, creative problem-solving, and a passion for learning to any team. I am committed to delivering elegant and efficient software solutions and excited to contribute to an innovative and dynamic team that shares this vision.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
