---
title: "Discussion on \"3 mistakes to avoid in your rspec tests\" | Hashnode"
description: "Discussion on \"3 mistakes to avoid in your rspec tests\". rspec is an amazing testing tool for Ruby and Rails apps. I have used it in most of the projects I’ve worked on for a long time. Despite this, I am still prone to make mistakes, so I’ll keep a log of some of them here for future reference\nFailing to ..."
url: "https://hashnode.com/posts/3-mistakes-to-avoid-in-your-rspec-tests/6491fb4d07543f6ce75a6ea0"
---

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

Discussion

# [3 mistakes to avoid in your rspec tests](https://kevgathuku.dev/3-mistakes-to-avoid-in-your-rspec-tests?utm_source=hashnode&utm_medium=feed)

rspec is an amazing testing tool for Ruby and Rails apps. I have used it in most of the projects I’ve worked on for a long time. Despite this, I am still prone to make mistakes, so I’ll keep a log of some of them here for future reference Failing to ...

Jun 20, 2023 · 2 min read · kevgathuku.dev  
Updated Jun 23, 2023  
Read the article

-   [#rails](https://hashnode.com/tag/rails)
-   [#rspec](https://hashnode.com/tag/rspec)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[Kevin Gathuku](https://hashnode.com/@kevgathuku)

@kevgathuku · Nairobi, Kenya

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

Software Developer

I'm a web-focused developer with a passion for exploring new ideas and hopefully sharing more of them through this blog 😃

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
