From: Simone Carletti Date: Thu, 14 Jun 2012 13:04:30 +0000 (+0200) Subject: Require 'spec', it is included in the .gemspec and requires manual require. X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/56657a8f65a89dddf275132a8d430e677a50207d Require 'spec', it is included in the .gemspec and requires manual require. --- diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 6f1dd6867d..900caa3829 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