Manually update your LOAD PATH in spec_helper.rb before calling require
should do the trick. Try making this the first line of your spec_helper.rb:
$: << '../lib'
or
$LOAD_PATH << '../lib'
($:
is an alias for $LOAD_PATH
)
Manually update your LOAD PATH in spec_helper.rb before calling require
should do the trick. Try making this the first line of your spec_helper.rb:
$: << '../lib'
or
$LOAD_PATH << '../lib'
($:
is an alias for $LOAD_PATH
)