mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Revert "Merge pull request #36676 from wjessop/change_activestorage_metadata_duration_to_bound"
This reverts commita307c697b2
, reversing changes made tof30f76af74
. Reason: This assertion is not failed even without this PR since both ffprobe versions (3.2.14 and 4.1.3) return the same duration 5.166648 for `video.mp4`. So there is no need to touch this assertion at this point.
This commit is contained in:
parent
1b984fc258
commit
559ffacfd9
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class ActiveStorage::Analyzer::VideoAnalyzerTest < ActiveSupport::TestCase
|
|||
assert_equal 640, metadata[:width]
|
||||
assert_equal 480, metadata[:height]
|
||||
assert_equal [4, 3], metadata[:display_aspect_ratio]
|
||||
assert_equal true, metadata[:duration].between?(4, 6)
|
||||
assert_equal 5.166648, metadata[:duration]
|
||||
assert_not_includes metadata, :angle
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue