aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activeresource/lib/active_resource/http_mock.rb (renamed from activeresource/test/http_mock.rb)0
-rw-r--r--activeresource/test/abstract_unit.rb9
2 files changed, 4 insertions, 5 deletions
diff --git a/activeresource/test/http_mock.rb b/activeresource/lib/active_resource/http_mock.rb
index e22a61e6a7..e22a61e6a7 100644
--- a/activeresource/test/http_mock.rb
+++ b/activeresource/lib/active_resource/http_mock.rb
diff --git a/activeresource/test/abstract_unit.rb b/activeresource/test/abstract_unit.rb
index 56a78405e3..f19635826c 100644
--- a/activeresource/test/abstract_unit.rb
+++ b/activeresource/test/abstract_unit.rb
@@ -1,9 +1,8 @@
-$:.unshift(File.dirname(__FILE__) + '/../lib')
-require 'active_resource'
require 'test/unit'
-require 'active_support/breakpoint'
-$:.unshift(File.dirname(__FILE__) + '/.')
-require 'http_mock'
+$:.unshift "#{File.dirname(__FILE__)}/../lib"
+require 'active_resource'
+require 'active_resource/http_mock'
+require 'active_support/breakpoint'
ActiveResource::Base.logger = Logger.new("#{File.dirname(__FILE__)}/debug.log")