rails/railties/test
Yasuo Honda 6341e2dbb8 Ignore warnings like warning: net-smtp which is not part of the default gems since Ruby 3.1.0.
This commit addresses the CI failure against Ruby master branch.
https://buildkite.com/rails/rails/builds/102575#018c4147-8760-48ac-812c-4e63fbe242fa

This failure reproduces since this commit:
d411d8f5fe

* Steps to reproduce

Install `ruby 3.3.0dev`
```ruby
git clone https://github.com/rails/rails
cd rails/railties
rm ../Gemfile.lock
bundle
bin/test test/application/bin_setup_test.rb -n test_bin_setup_output
```

* Without this commit

```ruby
$ ruby -v
ruby 3.3.0dev (2023-12-16T21:45:33Z master d7d10f3ee8) [x86_64-linux]
$ rm ../Gemfile.lock ; bundle ; bin/test test/application/bin_setup_test.rb -n test_bin_setup_output
... snip ...
F

Failure:
ApplicationTests::BinSetupTest#test_bin_setup_output [/home/yahonda/src/github.com/rails/rails/railties/test/application/bin_setup_test.rb:51]:
--- expected
+++ actual
@@ -2,10 +2,12 @@
 The Gemfile's dependencies are satisfied

 == Preparing database ==
+/home/yahonda/.rbenv/versions/trunk/lib/ruby/gems/3.3.0+0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38: warning: mutex_m was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add mutex_m to your Gemfile or gemspec.
 Created database 'app_development'
 Created database 'app_test'

 == Removing old logs and tempfiles ==
+/home/yahonda/.rbenv/versions/trunk/lib/ruby/gems/3.3.0+0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38: warning: mutex_m was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add mutex_m to your Gemfile or gemspec.

 == Restarting application server ==
 "

bin/test test/application/bin_setup_test.rb:30

Finished in 12.553516s, 0.0797 runs/s, 0.0797 assertions/s.
1 runs, 1 assertions, 1 failures, 0 errors, 0 skips
$
```
2023-12-17 15:43:38 +09:00
..
application Ignore warnings like warning: net-smtp which is not part of the default gems since Ruby 3.1.0. 2023-12-17 15:43:38 +09:00
command Deprecate secrets:edit/show and remove secrets:setup 2023-03-29 16:18:32 +02:00
commands Add runner option to disable Executor wrap 2023-12-08 09:36:33 -08:00
configuration Raise if setting a config key that is a method name 2023-04-23 09:39:07 +02:00
engine Fix the BroadcastLogger being initialized too late: 2023-09-29 15:42:47 +02:00
fixtures This enhancement automatically updates the Dockerfile to the desired db when using db:system:change. 2023-09-19 15:33:36 -04:00
generators Use --quiet for bundle install 2023-11-27 13:13:02 -06:00
isolation Railties TestHelper remove_from_config should remove all occurrences 2023-10-27 10:59:12 +09:00
minitest Fix backtraces for generated plugin tests 2020-10-07 15:40:56 -05:00
railties Make engines aware of AR::Base table name prefix 2023-12-06 20:09:18 +01:00
test_unit Set test reporter default executable to bin/rails 2023-02-02 17:11:33 -06:00
abstract_unit.rb Get rid of the jruby_skip test helper 2023-10-02 13:01:44 +02:00
app_loader_test.rb
backtrace_cleaner_test.rb Optimize ActiveRecord::LogSubscriber#query_source_location 2023-08-31 11:56:55 +02:00
code_statistics_calculator_test.rb Add support for stylesheets and ERB views to rails stats. 2020-11-10 09:40:18 -07:00
code_statistics_test.rb
console_helpers.rb Do not run tests that have ensure instead of skip 2022-09-20 22:12:20 +09:00
engine_test.rb
env_helpers.rb Enable Style/ExplicitBlockArgument cop 2021-09-05 17:06:19 +02:00
generators_test.rb Use bin/rails in generator Base banner 2023-03-29 02:40:52 -04:00
initializable_test.rb
json_params_parsing_test.rb
path_generation_test.rb Store secret_key_base in Rails.config for local environments. 2023-06-14 16:37:23 +02:00
paths_test.rb
plugin_helpers.rb Separate the CI environment from the application CI environment 2023-10-04 09:36:51 +00:00
rack_logger_test.rb
rails_health_controller_test.rb add "as: :rails_health_check" to health check path (#47217) 2023-02-05 08:49:04 +01:00
rails_info_controller_test.rb Expand rails route search to all table content 2023-03-03 17:14:33 +11:00
rails_info_test.rb
secrets_test.rb
version_test.rb