Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add failing spec for leaking indices between requests #2461

Closed

Conversation

seriousdev-gh
Copy link

failing spec for issue #2460

@grape-bot
Copy link

1 Warning
⚠️ Unless you're refactoring existing code or improving documentation, please update CHANGELOG.md.
1 Message
📖 We really appreciate pull requests that demonstrate issues, even without a fix. That said, the next step is to try and fix the failing tests!

Here's an example of a CHANGELOG.md entry:

* [#2461](https://github.com/ruby-grape/grape/pull/2461): Add failing spec for leaking indices between requests - [@seriousdev-gh](https://github.com/seriousdev-gh).

Generated by 🚫 Danger

# Ensure there is no leakage of indices between requests
context 'required with a hash inside an array' do
before do
subject.params do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is subject being cleared between tests or are we calling params on the same Grape::API?

@dblock
Copy link
Member

dblock commented Jun 25, 2024

Fixed in #2463.

@dblock dblock closed this Jun 25, 2024
@seriousdev-gh seriousdev-gh deleted the leaking-error-message branch July 25, 2024 10:53
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.

None yet

3 participants