Permalink
Browse files

move http_mock to lib so others can use it in their Ares tests

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 01452fe commit 93c816f0c2ad45ef898de7c2dd2987f9ccb02678 @jeremy jeremy committed Dec 21, 2006
@@ -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")

0 comments on commit 93c816f

Please sign in to comment.