Skip to content

Commit 285ddb2

Browse files
committed
Require openssl for Rails 8.1
1 parent 6072931 commit 285ddb2

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

example_app_generator/spec/support/default_preview_path

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ end
77
ENV['RAILS_ENV'] ||= 'development'
88
# Pick the frameworks you want:
99
begin
10+
require "openssl"
1011
require "active_storage"
1112
require "active_storage/engine"
1213
rescue LoadError

example_app_generator/spec/verify_mailer_preview_path_spec.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ def capture_exec(*ops)
4040
CaptureExec.new(out, $?.exitstatus)
4141
end
4242

43-
if ENV['RAILS_VERSION'] == 'main' && Rails::VERSION::STRING == "8.0.0.alpha"
44-
before do
45-
skip('This is broken on Rails main but is skipped for green builds, please fix')
46-
end
47-
end
48-
4943
if Rails::VERSION::STRING.to_f >= 7.1
5044
let(:expected_custom_path) { "/custom/path\n#{::Rails.root}/test/mailers/previews" }
5145
let(:expected_rspec_path) { "#{::Rails.root}/spec/mailers/previews\n#{::Rails.root}/test/mailers/previews" }

0 commit comments

Comments
 (0)