Skip to content

Commit

Permalink
Merge pull request urbancoding#39 from msabramo/issue-38
Browse files Browse the repository at this point in the history
  • Loading branch information
msabramo committed Jan 31, 2012
2 parents e495c74 + 6349db1 commit febb3a3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/run_suite.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@

# Loading all the Ruby project files.
dir_path = File.expand_path('../../jenx/', __FILE__)
puts dir_path
Dir.glob(File.join(dir_path, '**/*.{rb,rbo}')).map { |x| File.basename(x, File.extname(x)) }.uniq.each do |path|
p = dir_path + '/' + path
require(p) unless path == 'rb_main'
['JenxLocalize', 'JenxConstants', 'JenxConnection', 'JenxConnectionManager'].each do |class_name|
require "#{dir_path}/#{class_name}.rb"
end

require File.expand_path('../JenxTestCase.rb', __FILE__)
Dir.glob(File.expand_path('../**/*Test.rb', __FILE__)).each do |test|
Dir.glob(File.expand_path('../**/*Test.rb', __FILE__)).each do |test|
require test
end

0 comments on commit febb3a3

Please sign in to comment.