Skip to content

Capybara still reads from db after setting test strategy #29

@ssuch

Description

@ssuch

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions