test/test_helper.rb in download_tv-2.1.0 vs test/test_helper.rb in download_tv-2.1.1
- old
+ new
@@ -1,5 +1,9 @@
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
require "download_tv"
require "minitest/autorun"
+
+def create_dummy_config(in_path, config={})
+ File.open(in_path, "wb") { |f| Marshal.dump(config, f) }
+end
\ No newline at end of file