test/test_helper.rb in ruby-tmdb-0.1.1 vs test/test_helper.rb in ruby-tmdb-0.1.2
- old
+ new
@@ -1,11 +1,9 @@
TEST_LIVE_API = false
require 'rubygems'
require 'test/unit'
-require 'yaml'
-require 'net/http'
unless(TEST_LIVE_API)
require 'webmock/test_unit'
include WebMock
end
@@ -16,8 +14,7 @@
require_files.each do |file|
require File.expand_path(file)
end
-File.open(File.join(File.dirname(__FILE__), 'setup', 'tmdb_api_key.txt')) do |file|
- Tmdb.api_key = file.read
-end
+#load(File.join('unit', 'test_direct_require.rb'), true)
+system('ruby ' + File.expand_path(File.join(File.dirname(__FILE__), 'unit', 'test_direct_require.rb')))
\ No newline at end of file