---
title: "Discussion on \"Stubbing AWS S3 responses in Rails\" | Hashnode"
description: "Discussion on \"Stubbing AWS S3 responses in Rails\". Context\nI was writing some test cases for a service object in which we have to generate and then upload a pdf to Aws S3 storage. Now this backend service is made using Rails 7 and i use rspec framework for writing my tests.\nNow for S3 we use the aws-..."
url: "https://hashnode.com/posts/aws-s3-stub/65377d663e0c6fcb2e1b43cb"
---

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

Discussion

# [Stubbing AWS S3 responses in Rails](https://www.dsdev.in/aws-s3-stub?utm_source=hashnode&utm_medium=feed)

Context I was writing some test cases for a service object in which we have to generate and then upload a pdf to Aws S3 storage. Now this backend service is made using Rails 7 and i use rspec framework for writing my tests. Now for S3 we use the aws-...

Feb 21, 2023 · 1 min read · dsdev.in  
Read the article

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

## Written by

[Dhaval Singh](https://hashnode.com/@DhavalSingh)

@DhavalSingh · Bangalore, India

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

Writing about Software Development, Backend in particular!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
