spec/autotest_helper.rb in rspec-1.0.8 vs spec/autotest_helper.rb in rspec-1.1.0
- old
+ new
@@ -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