Permalink
Browse files

Set $LOAD_PATH of unit tests to allow them to be exec'ed from any path

  • Loading branch information...
1 parent 24c5995 commit 8fee94a7339c3d055e7b2afef2b88b4d8d542e09 Gustavo Machado Campagnani Gama committed Jan 25, 2011
Showing with 3 additions and 0 deletions.
  1. +1 −0 test/unit/client_test.rb
  2. +1 −0 test/unit/subscription_test.rb
  3. +1 −0 test/unit/tag_test.rb
View
@@ -4,6 +4,7 @@
############################################################
$LOAD_PATH << File.expand_path('../../../lib', __FILE__)
+$LOAD_PATH << File.expand_path('..', __FILE__)
require 'test/unit'
require 'mock_client'
@@ -4,6 +4,7 @@
############################################################
$LOAD_PATH << File.expand_path('../../../lib', __FILE__)
+$LOAD_PATH << File.expand_path('..', __FILE__)
require 'test/unit'
require 'mock_client'
require 'google-reader/subscription'
View
@@ -4,6 +4,7 @@
############################################################
$LOAD_PATH << File.expand_path('../../../lib', __FILE__)
+$LOAD_PATH << File.expand_path('..', __FILE__)
require 'test/unit'
require 'mock_client'
require 'google-reader/tag'

0 comments on commit 8fee94a

Please sign in to comment.