Skip to content

Conversation

bkeepers
Copy link
Collaborator

As mentioned in #808 (comment), the current RSpec integration does not clear the state of the adapter between specs. This is being obscured in our test suite at the moment because of how we manually clear Flipper.configuration = nil.

For now the fix is just to reconfigure Flipper before each example, which will create a new Memory adapter for each test (which is what it does with Rails+minitest).

@bkeepers bkeepers merged commit 35592a7 into main Jan 15, 2024
@bkeepers bkeepers deleted the test-help-clear branch January 15, 2024 18:15
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.

1 participant