akitaonrails / utility-belt forked from gilesbowkett/utility-belt

IRB Power User Utility Belt

utility-belt / spec / spec_helper.rb
100644 9 lines (7 sloc) 0.352 kb
1
2
3
4
5
6
7
8
9
# Make sure Rubygems' mangling of the path is already done before we do our own
# mangling.
require 'rubygems'
 
# Ensure that when we require UtilityBelt libs they are from the files under
# test, NOT from the installed gem.
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), ".."))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))