this is related to: #763
What is the expected way to handle the strict adapter in tests?
Should I add all the flipper features in a fixture or in an initializer file?
It mentions this in the docs:
Adding feature flags to your app is as simple as adding conditionals
...
<% if Flipper.enabled? :new_feature, current_user %>
<%= link_to "New Feature", new_feature_path %>
<% end %>
https://www.flippercloud.io/docs/guides/launch#add-feature-flags-to-your-app
It makes it seem like just adding the conditionals like Flipper.enabled? :new_feature is all you need to add a flipper feature, but in tests this warns:
Could not find feature "deep_search". Call `Flipper.add("deep_search")` to create it.
this is related to: #763
What is the expected way to handle the strict adapter in tests?
Should I add all the flipper features in a fixture or in an initializer file?
It mentions this in the docs:
https://www.flippercloud.io/docs/guides/launch#add-feature-flags-to-your-app
It makes it seem like just adding the conditionals like
Flipper.enabled? :new_featureis all you need to add a flipper feature, but in tests this warns: