---
title: "Discussion on \"Rails: How to setup rspec on Rails\" | Hashnode"
description: "Discussion on \"Rails: How to setup rspec on Rails\". Add rspec to the Gemfile;\n group :development, :test do\n   gem 'rspec-rails'\n end\n\n \n\nInstall the dependencies\n bundle install\n\n\nCheck if it was installed correctly\n gem list rspec\n\n You should see something like this\n \n\nCheck version\n \n\nInstall rspe..."
url: "https://hashnode.com/posts/rails-how-to-setup-rspec-on-rails/63db28d291b374e9052e4e3d"
---

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

Discussion

# [Rails: How to setup rspec on Rails](https://blog.alexandrecalaca.com/rails-how-to-setup-rspec-on-rails?utm_source=hashnode&utm_medium=feed)

Add rspec to the Gemfile; group :development, :test do gem 'rspec-rails' end Install the dependencies bundle install Check if it was installed correctly gem list rspec You should see something like this Check version Install rspe...

Feb 2, 2023 · 1 min read · blog.alexandrecalaca.com  
Read the article

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

## Written by

[Alexandre Calaça](https://hashnode.com/@alexandrecalaca)

@alexandrecalaca

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

I'm a passionate software developer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
