diff options
Diffstat (limited to 'activeresource/test')
-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 |