Sha256: 99ebe7438797ee9cb98639e398686ecd5b0a6af67de66afcdedadefb8d2514bb
Contents?: true
Size: 394 Bytes
Versions: 3
Compression:
Stored size: 394 Bytes
Contents
require_relative '../test_helper' describe YoutubeDL do after do remove_downloaded_files end it 'should download videos' do YoutubeDL.get NOPE, output: 'nope.avi' assert File.exist? 'nope.avi' end it 'should download multiple videos' do YoutubeDL.download [NOPE, "https://www.youtube.com/watch?v=Mt0PUjh-nDM"] assert_equal Dir.glob('nope*').length, 2 end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
youtube-dl.rb-0.0.4 | test/youtube-dl/youtube-dl_test.rb |
youtube-dl.rb-0.0.3 | test/youtube-dl/youtube-dl_test.rb |
youtube-dl.rb-0.0.2 | test/youtube-dl/youtube-dl_test.rb |