aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/plugins/rspec/spec/autotest_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/plugins/rspec/spec/autotest_helper.rb')
-rw-r--r--vendor/plugins/rspec/spec/autotest_helper.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/vendor/plugins/rspec/spec/autotest_helper.rb b/vendor/plugins/rspec/spec/autotest_helper.rb
index 172bb3a4a..6d994eaa2 100644
--- a/vendor/plugins/rspec/spec/autotest_helper.rb
+++ b/vendor/plugins/rspec/spec/autotest_helper.rb
@@ -1,4 +1,5 @@
+require "rubygems"
require 'autotest'
-require File.dirname(__FILE__) + "/../lib/autotest/rspec"
-
-
+dir = File.dirname(__FILE__)
+require "#{dir}/spec_helper"
+require File.expand_path("#{dir}/../lib/autotest/rspec") \ No newline at end of file