Skip to content

Commit c11ad35

Browse files
committed
Remove apply_rubocop_autocorrect_after_generate! from development.rb in build_app
This will fix tests for versions of Ruby that Rubocop doesn't have a parser for.
1 parent 44bc952 commit c11ad35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

railties/test/isolation/abstract_unit.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ def build_app(options = {})
142142
config.active_support.deprecation = :log
143143
config.action_controller.allow_forgery_protection = false
144144
RUBY
145+
146+
remove_from_env_config("development", "config.generators.apply_rubocop_autocorrect_after_generate!")
145147
end
146148

147149
def teardown_app

0 commit comments

Comments
 (0)