mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 15:58:50 +00:00
Rails 7.1 update (#25963)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user