Permalink
Browse files

expand_path

  • Loading branch information...
1 parent d40404d commit 7718ebd10caeab721a9756b1ca393a0744fe0a6f @dchelimsky dchelimsky committed Jan 29, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 spec/spec_helper.rb
View
@@ -1,6 +1,6 @@
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '../../core/lib'))
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '../../mocks/lib'))
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+$LOAD_PATH.unshift(File.expand_path('../../../core/lib', __FILE__))
+$LOAD_PATH.unshift(File.expand_path('../../../mocks/lib', __FILE__))
+$LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__))
require 'rspec/expectations'
require 'rspec/mocks'
require 'rspec/core'

0 comments on commit 7718ebd

Please sign in to comment.