Skip to content

Commit 97968f0

Browse files
committed
Test with Rails 7.2.0.beta2 on CI
1 parent 723975a commit 97968f0

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
matrix:
99
include:
1010
- ruby: 3.3
11-
gemfile: Gemfile
11+
gemfile: gemfiles/rails72.gemfile
1212
- ruby: 3.2
1313
gemfile: Gemfile
1414
- ruby: 3.1

gemfiles/rails72.gemfile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
source "https://rubygems.org"
2+
3+
gemspec path: ".."
4+
5+
gem "rake"
6+
gem "minitest", ">= 5"
7+
gem "combustion"
8+
gem "rails", "~> 7.2.0.beta2"
9+
gem "sqlite3"
10+
gem "devise"
11+
gem "rack", "< 3"

test/test_helper.rb

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
Combustion.initialize! :active_record, :action_controller, :active_job do
1616
config.load_defaults Rails::VERSION::STRING.to_f
1717

18+
if Rails::VERSION::STRING.to_f >= 7.1
19+
config.action_dispatch.show_exceptions = :none
20+
end
21+
1822
config.active_job.queue_adapter = :test
1923

2024
logger = ActiveSupport::Logger.new(ENV["VERBOSE"] ? STDOUT : nil)

0 commit comments

Comments
 (0)