Rails 7.1 update (#25963)
This commit is contained in:
parent
379115e601
commit
e93a75f1a1
13 changed files with 122 additions and 89 deletions
|
@ -1,13 +1,13 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require 'rails_helper'
|
||||
require 'rails/generators/testing/behaviour'
|
||||
require 'rails/generators/testing/behavior'
|
||||
require 'rails/generators/testing/assertions'
|
||||
|
||||
require 'generators/post_deployment_migration/post_deployment_migration_generator'
|
||||
|
||||
describe PostDeploymentMigrationGenerator, type: :generator do
|
||||
include Rails::Generators::Testing::Behaviour
|
||||
include Rails::Generators::Testing::Behavior
|
||||
include Rails::Generators::Testing::Assertions
|
||||
include FileUtils
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ describe CacheBuster do
|
|||
around do |example|
|
||||
# Disables the CacheBuster.new deprecation warning about default arguments.
|
||||
# Remove this `silence` block when default arg support is removed from CacheBuster
|
||||
ActiveSupport::Deprecation.silence do
|
||||
Rails.application.deprecators[:mastodon].silence do
|
||||
example.run
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue