projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc3d05d
)
Require 'spec', it is included in the .gemspec and requires manual require.
author
Simone Carletti <weppos@weppos.net>
Thu, 14 Jun 2012 13:04:30 +0000
(15:04 +0200)
committer
Simone Carletti <weppos@weppos.net>
Thu, 14 Jun 2012 13:06:15 +0000
(15:06 +0200)
spec/spec_helper.rb
patch
|
blob
|
history
diff --git
a/spec/spec_helper.rb
b/spec/spec_helper.rb
index 6f1dd6867d198800157e9fdbeb31cdbac8dc0952..900caa3829e198832c5075be486038c754bab731 100644
(file)
--- 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