2
0

Add MediaAttachment.combined_media_file_size method (#35570)

This commit is contained in:
Matt Jankowski
2025-07-30 08:57:51 -04:00
committed by GitHub
parent 8896d6c1b1
commit 3146109b08
5 changed files with 18 additions and 6 deletions

View File

@@ -313,6 +313,12 @@ RSpec.describe MediaAttachment, :attachment_processing do
end
end
describe '.combined_media_file_size' do
subject { described_class.combined_media_file_size }
it { is_expected.to be_an(Arel::Nodes::Grouping) }
end
private
def media_metadata