Commit 416c6754 authored by Stan Hu's avatar Stan Hu

Disable Flipper memoizer in tests to avoid transient failures

Closes #34278
parent 5af1fcd6
require 'flipper/middleware/memoizer' require 'flipper/middleware/memoizer'
Rails.application.config.middleware.use Flipper::Middleware::Memoizer, unless Rails.env.test?
Rails.application.config.middleware.use Flipper::Middleware::Memoizer,
lambda { Feature.flipper } lambda { Feature.flipper }
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment