diff --git a/test/jobs/transcode_job_test.rb b/test/jobs/transcode_job_test.rb index 51e87eaf..73140f62 100644 --- a/test/jobs/transcode_job_test.rb +++ b/test/jobs/transcode_job_test.rb @@ -76,11 +76,9 @@ class TranscodeJobTest < ActiveJob::TestCase TranscodeJob.perform_now(track, format: :flac) track.transcodes.flac.first.file.open do |file| - cmd = "ffprobe -i #{file.path} -output_format json -show_format" + cmd = "ffprobe -i #{file.path} -print_format json -show_format" std_out, _status = Open3.capture2(cmd) - puts std_out metadata = JSON.parse(std_out) - puts metadata assert_equal track.title, metadata['format']['tags']['TITLE'] assert_equal '01', metadata['format']['tags']['track']