Skip to content
This repository has been archived by the owner on May 30, 2021. It is now read-only.

Commit

Permalink
Updated test helper.
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongough committed Nov 4, 2010
1 parent c095d14 commit 847ded9
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions test/test_helper.rb
@@ -1,20 +1,10 @@
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')))
end

0 comments on commit 847ded9

Please sign in to comment.