Skip to content

Create shared example for delete request specs#294

Merged
edimossilva merged 2 commits intoespoo-dev:mainfrom
lucasleandro1:feat/add-shared-example-for-delete-request-specs
May 2, 2025
Merged

Create shared example for delete request specs#294
edimossilva merged 2 commits intoespoo-dev:mainfrom
lucasleandro1:feat/add-shared-example-for-delete-request-specs

Conversation

@lucasleandro1
Copy link
Contributor

Context

  • Tests with patterns leading to code duplication.

Solution

  • add a shared RSpec example for DELETE requests, the example validates the correct success message and response status for successful deletes.

@lucasleandro1 lucasleandro1 changed the title feat: create shared example for deletable resources in request specs feat: create shared example for delete request specs May 2, 2025
@edimossilva edimossilva merged commit 04ee4e2 into espoo-dev:main May 2, 2025
3 checks passed
@lucasleandro1 lucasleandro1 changed the title feat: create shared example for delete request specs Create shared example for delete request specs May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants