Merge branch 'sh-disable-flipper-midddlware-tests' into 'master'
Disable Flipper memoizer in tests to avoid transient failures Closes #34278 See merge request !12656
This commit is contained in:
commit
11e03bf49c
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
require 'flipper/middleware/memoizer'
|
||||
|
||||
Rails.application.config.middleware.use Flipper::Middleware::Memoizer,
|
||||
lambda { Feature.flipper }
|
||||
unless Rails.env.test?
|
||||
Rails.application.config.middleware.use Flipper::Middleware::Memoizer,
|
||||
lambda { Feature.flipper }
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue