Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7398042

Browse files
committedJan 23, 2022
Skip "action mailer missing" example for Rails 7
See rails/rails#43508
1 parent 926aad9 commit 7398042

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎example_app_generator/spec/verify_mailer_preview_path_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ def have_no_preview
111111
end
112112

113113
it 'handles action mailer not being available' do
114+
skip "Rails 7 forces eager loading on CI, loads app/mailers and fails" if Rails::VERSION::STRING.to_f >= 7.0
115+
114116
expect(
115117
capture_exec(
116118
custom_env.merge('NO_ACTION_MAILER' => 'true'),

0 commit comments

Comments
 (0)
Please sign in to comment.