diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 873bcb8c..d6c76d2f 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -17,4 +17,4 @@ end end -Dir[File.dirname(__FILE__) + '/support/*.rb'].each { |f| require f } +Dir[File.expand_path('../support/*.rb', __FILE__)].each{|f| require f }