Skip to content
New issue

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

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

Already on GitHub? # to your account

Capybara still reads from db after setting test strategy #29

Open
ssuch opened this issue Dec 11, 2018 · 0 comments
Open

Capybara still reads from db after setting test strategy #29

ssuch opened this issue Dec 11, 2018 · 0 comments

Comments

@ssuch
Copy link

ssuch commented Dec 11, 2018

In following the snippet for setting the testing strategy

    test_strategy = Flipflop::FeatureSet.current.test!
    test_strategy.switch!(:world_domination, true)

When a capybara spec runs, flipflop still reads from the database and gets the previous value of the feature.

Is there a way to programmatically set the value of the feature without switching to test mode?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant