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 Flipper.instance writer method #309

Merged
merged 2 commits into from
Nov 21, 2017
Merged

Add Flipper.instance writer method #309

merged 2 commits into from
Nov 21, 2017

Conversation

jnunemaker
Copy link
Collaborator

Tiny little doodad to update the Flipper.instance explicitly. Primarily useful for testing where you can just use the memory adapter like:

# in setup, before, or whatever your test framework calls it
Flipper.instance = Flipper.new(Flipper::Adapters::Memory.new)

@jnunemaker jnunemaker self-assigned this Nov 21, 2017
@jnunemaker jnunemaker merged commit b1de739 into master Nov 21, 2017
@jnunemaker jnunemaker deleted the instance-writer branch November 21, 2017 01:32
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