Browse files

Fixed buggy require path in unittest.rb.

  • Loading branch information...
1 parent b811722 commit 9cfe449f5de8a85416632495e47492ae311709bf @ngryman ngryman committed Oct 16, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/unittest_js.rb
View
8 lib/unittest_js.rb
@@ -3,10 +3,10 @@
$:.unshift File.expand_path(File.join(File.dirname(__FILE__), 'unittest_js'))
-require File.expand_path(File.join(File.dirname(__FILE__), 'unittest_js', 'dir_pathname'))
-require File.expand_path(File.join(File.dirname(__FILE__), 'unittest_js', 'builder'))
-require File.expand_path(File.join(File.dirname(__FILE__), 'unittest_js', 'webrick_runner'))
-require File.expand_path(File.join(File.dirname(__FILE__), 'unittest_js', 'browsers'))
+require 'dir_pathname'
+require 'builder'
+require 'webrick_runner'
+require 'browsers'
module UnittestJS
TEMPLATES_DIR_NAME = 'templates'

0 comments on commit 9cfe449

Please sign in to comment.