mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 15:58:50 +00:00
Rename jobs/attachments rspec tag names (#29762)
This commit is contained in:
@@ -120,7 +120,7 @@ RSpec.configure do |config|
|
||||
end
|
||||
|
||||
config.around do |example|
|
||||
if example.metadata[:sidekiq_inline] == true
|
||||
if example.metadata[:inline_jobs] == true
|
||||
Sidekiq::Testing.inline!
|
||||
else
|
||||
Sidekiq::Testing.fake!
|
||||
@@ -137,7 +137,7 @@ RSpec.configure do |config|
|
||||
end
|
||||
|
||||
config.before do |example|
|
||||
unless example.metadata[:paperclip_processing]
|
||||
unless example.metadata[:attachment_processing]
|
||||
allow_any_instance_of(Paperclip::Attachment).to receive(:post_process).and_return(true) # rubocop:disable RSpec/AnyInstance
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user