test/helper.rb in inteltech_sms-0.1.0 vs test/helper.rb in inteltech_sms-0.1.2
- old
+ new
@@ -8,11 +8,14 @@
exit e.status_code
end
require 'test/unit'
require 'shoulda-context'
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-$LOAD_PATH.unshift(File.dirname(__FILE__))
+unless ENV['TEST_GEM']
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+end
+#$LOAD_PATH.unshift(File.dirname(__FILE__))
+
require 'inteltech_sms'
class Test::Unit::TestCase
end