Sha256: be111d70a0b4e3a584f81b370b1e923c1db53b1ce37b15d3acdccc39904a579f
Contents?: true
Size: 705 Bytes
Versions: 2
Compression:
Stored size: 705 Bytes
Contents
if RUBY_PLATFORM == "java" require 'simplecov' SimpleCov.start else require "codeclimate-test-reporter" CodeClimate::TestReporter.start end $:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) gem 'minitest' require 'minitest/autorun' require 'minitest/spec' require 'purdytest' # minitest-colorize is broken in minitest version 5 require 'pry' require 'fileutils' require 'youtube-dl' TEST_URL = "https://www.youtube.com/watch?feature=endscreen&v=gvdf5n-zI14" TEST_URL2 = "https://www.youtube.com/watch?v=Mt0PUjh-nDM" TEST_FILENAME = "nope.avi.mp4" TEST_FORMAT = "5" TEST_GLOB = "nope*" def remove_downloaded_files Dir.glob("**/nope*").each do |nope| File.delete(nope) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
youtube-dl.rb-0.1.1 | test/test_helper.rb |
youtube-dl.rb-0.1.0 | test/test_helper.rb |