diff options
Diffstat (limited to 'spec/support/helpers/stub_feature_flags.rb')
-rw-r--r-- | spec/support/helpers/stub_feature_flags.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers/stub_feature_flags.rb b/spec/support/helpers/stub_feature_flags.rb index 42bb9982144..76fc8ebf84d 100644 --- a/spec/support/helpers/stub_feature_flags.rb +++ b/spec/support/helpers/stub_feature_flags.rb @@ -29,7 +29,7 @@ module StubFeatureFlags return unless Gitlab::SafeRequestStore.active? new_request = Feature::FlipperRequest.new - allow(new_request).to receive(:id).and_return(SecureRandom.uuid) + allow(new_request).to receive(:flipper_id).and_return("FlipperRequest:#{SecureRandom.uuid}") allow(Feature).to receive(:current_request).and_return(new_request) end |