Skip to content

Commit 0f133af

Browse files
committed
[WIP]
1 parent 2a2c065 commit 0f133af

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

example_app_generator/generate_stuff.rb

+6
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,10 @@ def using_source_path(path)
167167
gsub_file 'spec/controllers/uploads_controller_spec.rb',
168168
'skip("Add a hash of attributes valid for your model")',
169169
'{}'
170+
171+
if Rails.version >= '7.0.0'
172+
# Some gems (ActionMailBox, ActionCable, etc.) are not used when running `example_app_generator/spec/verify_mailer_preview_path_spec.rb`, so `eager_load` must be false.
173+
gsub_file "config/environments/test.rb", 'ENV["CI"].present?', "false"
174+
end
175+
170176
final_tasks

0 commit comments

Comments
 (0)