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

Remove OpenStruct usage from specs #2311

Merged
merged 2 commits into from Apr 16, 2024
Merged

Conversation

andrehjr
Copy link
Member

@andrehjr andrehjr commented Apr 16, 2024

Specs were using a global structure called Pad for sharing state. That structure was a OpenStruct.

As not all specs needed it, I've created smaller Structs for the specs that actually needed it locally them. For me, makes the tests read better.

@andrehjr andrehjr marked this pull request as ready for review April 16, 2024 12:55
@andrehjr andrehjr merged commit c64a8ea into pry:master Apr 16, 2024
19 of 20 checks passed
@andrehjr andrehjr deleted the remove-ostruct-specs branch April 16, 2024 12:56
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

1 participant