diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-05 13:31:04 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-05 13:31:04 +0000 |
commit | f6d852665987142fb85ab26da9cc01f5d9b65d46 (patch) | |
tree | ab6acf54b41bcd80621f8aa701d2e84b02621134 /activesupport/test/core_ext/class | |
parent | b144818698ee8bd9190efe465611c9f83d5a685e (diff) | |
download | rails-f6d852665987142fb85ab26da9cc01f5d9b65d46.tar.gz rails-f6d852665987142fb85ab26da9cc01f5d9b65d46.tar.bz2 rails-f6d852665987142fb85ab26da9cc01f5d9b65d46.zip |
require abstract_unit directly since test is in load path
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test/core_ext/class')
3 files changed, 5 insertions, 5 deletions
diff --git a/activesupport/test/core_ext/class/attribute_accessor_test.rb b/activesupport/test/core_ext/class/attribute_accessor_test.rb index 8104c9ce88..85d0dd89e2 100644 --- a/activesupport/test/core_ext/class/attribute_accessor_test.rb +++ b/activesupport/test/core_ext/class/attribute_accessor_test.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../abstract_unit' +require 'abstract_unit' class ClassAttributeAccessorTest < Test::Unit::TestCase def setup @@ -28,4 +28,4 @@ class ClassAttributeAccessorTest < Test::Unit::TestCase assert @object.respond_to?(:bar) assert !@object.respond_to?(:bar=) end -end
\ No newline at end of file +end diff --git a/activesupport/test/core_ext/class/class_inheritable_attributes_test.rb b/activesupport/test/core_ext/class/class_inheritable_attributes_test.rb index c0bb7acb3d..7f859772e7 100644 --- a/activesupport/test/core_ext/class/class_inheritable_attributes_test.rb +++ b/activesupport/test/core_ext/class/class_inheritable_attributes_test.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../abstract_unit' +require 'abstract_unit' class ClassInheritableAttributesTest < Test::Unit::TestCase def setup diff --git a/activesupport/test/core_ext/class/delegating_attributes_test.rb b/activesupport/test/core_ext/class/delegating_attributes_test.rb index f5b14364cf..fa605e6d19 100644 --- a/activesupport/test/core_ext/class/delegating_attributes_test.rb +++ b/activesupport/test/core_ext/class/delegating_attributes_test.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../abstract_unit' +require 'abstract_unit' module DelegatingFixtures class Parent @@ -102,4 +102,4 @@ class DelegatingAttributesTest < Test::Unit::TestCase assert_nil Mokopuna.some_attribute end -end
\ No newline at end of file +end |