diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-05 13:32:38 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-05 13:32:38 +0000 |
commit | 1f2e9bb280a761132495ea430303767a08700fed (patch) | |
tree | 26ecf923ddd5d970d0065127f77c9edc07c92743 /activeresource | |
parent | 1ad87adc9f17ef004b0005725a456b1d3f141734 (diff) | |
download | rails-1f2e9bb280a761132495ea430303767a08700fed.tar.gz rails-1f2e9bb280a761132495ea430303767a08700fed.tar.bz2 rails-1f2e9bb280a761132495ea430303767a08700fed.zip |
require abstract_unit directly since test is in load path
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8566 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource')
-rw-r--r-- | activeresource/test/authorization_test.rb | 2 | ||||
-rw-r--r-- | activeresource/test/base/custom_methods_test.rb | 6 | ||||
-rw-r--r-- | activeresource/test/base/equality_test.rb | 2 | ||||
-rw-r--r-- | activeresource/test/base/load_test.rb | 2 | ||||
-rw-r--r-- | activeresource/test/base_errors_test.rb | 2 | ||||
-rw-r--r-- | activeresource/test/base_test.rb | 2 | ||||
-rw-r--r-- | activeresource/test/connection_test.rb | 2 | ||||
-rw-r--r-- | activeresource/test/format_test.rb | 4 |
8 files changed, 11 insertions, 11 deletions
diff --git a/activeresource/test/authorization_test.rb b/activeresource/test/authorization_test.rb index aed2e0e64b..fabf4a42c2 100644 --- a/activeresource/test/authorization_test.rb +++ b/activeresource/test/authorization_test.rb @@ -1,4 +1,4 @@ -require "#{File.dirname(__FILE__)}/abstract_unit" +require 'abstract_unit' class AuthorizationTest < Test::Unit::TestCase Response = Struct.new(:code) diff --git a/activeresource/test/base/custom_methods_test.rb b/activeresource/test/base/custom_methods_test.rb index 9864e9876f..c6dda524fe 100644 --- a/activeresource/test/base/custom_methods_test.rb +++ b/activeresource/test/base/custom_methods_test.rb @@ -1,6 +1,6 @@ -require "#{File.dirname(__FILE__)}/../abstract_unit" -require "#{File.dirname(__FILE__)}/../fixtures/person" -require "#{File.dirname(__FILE__)}/../fixtures/street_address" +require 'abstract_unit' +require 'fixtures/person' +require 'fixtures/street_address' class CustomMethodsTest < Test::Unit::TestCase def setup diff --git a/activeresource/test/base/equality_test.rb b/activeresource/test/base/equality_test.rb index 4a3f75f998..1fb8938e95 100644 --- a/activeresource/test/base/equality_test.rb +++ b/activeresource/test/base/equality_test.rb @@ -1,4 +1,4 @@ -require "#{File.dirname(__FILE__)}/../abstract_unit" +require 'abstract_unit' require "fixtures/person" require "fixtures/street_address" diff --git a/activeresource/test/base/load_test.rb b/activeresource/test/base/load_test.rb index 944f337aed..737afb1748 100644 --- a/activeresource/test/base/load_test.rb +++ b/activeresource/test/base/load_test.rb @@ -1,4 +1,4 @@ -require "#{File.dirname(__FILE__)}/../abstract_unit" +require 'abstract_unit' require "fixtures/person" require "fixtures/street_address" diff --git a/activeresource/test/base_errors_test.rb b/activeresource/test/base_errors_test.rb index 8706326b13..7ae92c7d98 100644 --- a/activeresource/test/base_errors_test.rb +++ b/activeresource/test/base_errors_test.rb @@ -1,4 +1,4 @@ -require "#{File.dirname(__FILE__)}/abstract_unit" +require 'abstract_unit' require "fixtures/person" class BaseErrorsTest < Test::Unit::TestCase diff --git a/activeresource/test/base_test.rb b/activeresource/test/base_test.rb index 89bc28deda..3808209f79 100644 --- a/activeresource/test/base_test.rb +++ b/activeresource/test/base_test.rb @@ -1,4 +1,4 @@ -require "#{File.dirname(__FILE__)}/abstract_unit" +require 'abstract_unit' require "fixtures/person" require "fixtures/street_address" require "fixtures/beast" diff --git a/activeresource/test/connection_test.rb b/activeresource/test/connection_test.rb index 307d3a94d5..8ffc4dfbb2 100644 --- a/activeresource/test/connection_test.rb +++ b/activeresource/test/connection_test.rb @@ -1,4 +1,4 @@ -require "#{File.dirname(__FILE__)}/abstract_unit" +require 'abstract_unit' class ConnectionTest < Test::Unit::TestCase ResponseCodeStub = Struct.new(:code) diff --git a/activeresource/test/format_test.rb b/activeresource/test/format_test.rb index 51e1bbe32a..3c81803fce 100644 --- a/activeresource/test/format_test.rb +++ b/activeresource/test/format_test.rb @@ -1,4 +1,4 @@ -require "#{File.dirname(__FILE__)}/abstract_unit" +require 'abstract_unit' require "fixtures/person" class FormatTest < Test::Unit::TestCase @@ -80,4 +80,4 @@ class FormatTest < Test::Unit::TestCase ensure klass.format = previous_format end -end
\ No newline at end of file +end |