Sha256: cb89abe60d4a63d1dfc4475561514cd26d4c5c63d2e7a8c770a971d542eab624

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
require "download_tv"

require "minitest/autorun"


def create_dummy_config(in_path, config={})
	config[:version] = DownloadTV::VERSION if !config[:version]
	File.open(in_path, "wb") { |f| Marshal.dump(config, f) }
end

def run_silently
	previous_stdout, $stdout = $stdout, StringIO.new
	yield
	$stdout.string
ensure
	$stdout = previous_stdout
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
download_tv-2.2.0 test/test_helper.rb