spec/helper.rb in postrank-uri-1.0.15 vs spec/helper.rb in postrank-uri-1.0.16
- old
+ new
@@ -1,4 +1,7 @@
require 'bundler'
Bundler.setup
-require 'lib/postrank-uri'
\ No newline at end of file
+$LOAD_PATH.unshift(File.dirname(__FILE__))
+$LOAD_PATH.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib')), __FILE__)
+
+require 'postrank-uri'