Sha256: 412c291149fb4f81ff2cc2b4f1be015bd02c786b88d4e070a7673a990c1a895a
Contents?: true
Size: 706 Bytes
Versions: 1
Compression:
Stored size: 706 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
youtube-dl.rb-0.2.0 | test/test_helper.rb |