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

Conversation

Projects
None yet
1 participant
@jnunemaker
Owner

jnunemaker commented Nov 21, 2017

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

0 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
continuous-integration/travis-ci/push The Travis CI build is in progress
Details

@jnunemaker jnunemaker deleted the instance-writer branch Nov 21, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment