Skip to content

Commit

Permalink
[Analyzer] Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mth0158 committed Dec 29, 2024
1 parent 8673a02 commit 340dfe8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/analyzers/audio_analyzer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
let(:media_io) { File.open(media_path) }
let(:media_content_type) { 'audio/mp3' }
let(:media_content_type_rotated) { media_content_type }
let(:expected_metadata) { { duration: 1.1, bit_rate: 32000, sample_rate: 44100, tags: { "encoder" => "Lavc60.3."} } }
let(:expected_metadata_over_10ko) { { duration: 2.1, bit_rate: 107141, sample_rate: 44100, tags: { "encoder" => "LAME3.100"} } }
let(:expected_metadata_rotated) { { duration: 1.1, bit_rate: 32000, sample_rate: 44100, tags: { "encoder" => "Lavc60.3."} } }
let(:expected_metadata) { { duration: 1.0, bit_rate: 32000, sample_rate: 44100, tags: { "encoder" => "Lavc60.3."} } }
let(:expected_metadata_over_10ko) { { duration: 2.0, bit_rate: 107286, sample_rate: 44100, tags: { "encoder" => "LAME3.100"} } }
let(:expected_metadata_rotated) { { duration: 1.0, bit_rate: 32000, sample_rate: 44100, tags: { "encoder" => "Lavc60.3."} } }

include ReturnsTheRightMetadataForAnyAttachable
end

0 comments on commit 340dfe8

Please sign in to comment.