diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 6f1dd6867..900caa382 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,8 +1,7 @@ -spec_dir = File.expand_path("..", __FILE__) -lib_dir = File.expand_path("../lib", spec_dir) - -$LOAD_PATH.unshift(lib_dir) +$LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__)) $LOAD_PATH.uniq! +require 'rspec' + RSpec.configure do |config| end