You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a feature.yml file with the following snippet:
test:
features:
feature_name: false
Using Feature.run_with_activated within a RSpec example like so:
it'does something'doFeature.run_with_activated(:feature_name)do# The test, `feature_name` here is disabled. Expected it to be enabled even if `feature.yml` has it as `false` for the test environment.Feature.active?'feature_name'# falseendend
does not actually run the code with feature_name active.
Any ideas?
The text was updated successfully, but these errors were encountered:
edelgado
changed the title
Testing with Feature.run_with_activated(:feature_name) has no effect
Testing with Feature.run_with_activated(:feature_name) has no effect under certain circumstances.
Feb 12, 2018
Howdy,
Given a
feature.yml
file with the following snippet:Using
Feature.run_with_activated
within a RSpec example like so:does not actually run the code with
feature_name
active.Any ideas?
The text was updated successfully, but these errors were encountered: