Skip to content
Snippets Groups Projects
Commit f1b5bfaf authored by Eugenia Grieff's avatar Eugenia Grieff
Browse files

Fix environment spec

The feature flag check needs a persisted project
parent e2e3b618
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -854,8 +854,8 @@
end
 
it 'overrides reactive_cache_limit_enabled? with a FF' do
environment_with_enabled_ff = FactoryBot.build(:environment)
environment_with_disabled_ff = FactoryBot.build(:environment)
environment_with_enabled_ff = build(:environment, project: create(:project))
environment_with_disabled_ff = build(:environment, project: create(:project))
 
stub_feature_flags(reactive_caching_limit_environment: environment_with_enabled_ff.project)
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment