test/test_helper.rb in ruby-tmdb-0.1.3 vs test/test_helper.rb in ruby-tmdb-0.1.4

- old
+ new

@@ -1,20 +1,20 @@ -TEST_LIVE_API = false - -require 'rubygems' -require 'test/unit' - -unless(TEST_LIVE_API) - require 'webmock/test_unit' - include WebMock -end - -require_files = [] -require_files << File.join(File.dirname(__FILE__), '..', 'lib', 'ruby-tmdb.rb') -require_files.concat Dir[File.join(File.dirname(__FILE__), 'setup', '*.rb')] - -require_files.each do |file| - require File.expand_path(file) -end - -#load(File.join('unit', 'test_direct_require.rb'), true) +TEST_LIVE_API = false + +require 'rubygems' +require 'test/unit' + +unless(TEST_LIVE_API) + require 'webmock/test_unit' + include WebMock +end + +require_files = [] +require_files << File.join(File.dirname(__FILE__), '..', 'lib', 'ruby-tmdb.rb') +require_files.concat Dir[File.join(File.dirname(__FILE__), 'setup', '*.rb')] + +require_files.each do |file| + require File.expand_path(file) +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