File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88This file is intended to be modified using the [ ` changelog ` ] ( https://github.com/cucumber/changelog ) command-line tool.
99
1010## [ Unreleased]
11+ ### Removed
12+ - Stop printing a warning about ` config.cache_classes ` being set to ` false `
1113
1214## [ 4.0.0] - 2025-09-01
1315### Changed
Original file line number Diff line number Diff line change 1212 require File . expand_path ( "#{ ENV . fetch ( 'RAILS_ROOT' ) } /config/environment" )
1313 require 'cucumber/rails/action_dispatch'
1414 require 'rails/test_help'
15-
16- unless Rails . application . config . cache_classes || defined? ( Spring )
17- warn <<~MESSAGE
18- WARNING: You have set Rails' config.cache_classes to false (Spring needs cache_classes set to false).
19- This is known to cause problems with database transactions.
20-
21- Set config.cache_classes to true if you want to use transactions.
22- MESSAGE
23- end
24-
2515 require 'cucumber/rails/world'
2616 require 'cucumber/rails/hooks'
2717 require 'cucumber/rails/capybara'
You can’t perform that action at this time.
0 commit comments