aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/autoloading_fixtures
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-11-16 22:50:46 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-11-16 22:50:46 +0000
commit615d05f5de8f401fa29bb33f37903ed602a6879a (patch)
tree9a354b416f7816d916d17b235ec7c19952bcb9b8 /activesupport/test/autoloading_fixtures
parent1d31a043e09761f260499b0bb5d3aa0396a4cf39 (diff)
downloadrails-615d05f5de8f401fa29bb33f37903ed602a6879a.tar.gz
rails-615d05f5de8f401fa29bb33f37903ed602a6879a.tar.bz2
rails-615d05f5de8f401fa29bb33f37903ed602a6879a.zip
Test autoloading nested subclass of parent.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test/autoloading_fixtures')
-rw-r--r--activesupport/test/autoloading_fixtures/class_folder.rb1
-rw-r--r--activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb3
2 files changed, 4 insertions, 0 deletions
diff --git a/activesupport/test/autoloading_fixtures/class_folder.rb b/activesupport/test/autoloading_fixtures/class_folder.rb
index 42933acf28..ad2b27be61 100644
--- a/activesupport/test/autoloading_fixtures/class_folder.rb
+++ b/activesupport/test/autoloading_fixtures/class_folder.rb
@@ -1,2 +1,3 @@
class ClassFolder
+ ConstantInClassFolder = 'indeed'
end
diff --git a/activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb b/activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb
new file mode 100644
index 0000000000..ef66ddaac7
--- /dev/null
+++ b/activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb
@@ -0,0 +1,3 @@
+class ClassFolder::ClassFolderSubclass < ClassFolder
+ ConstantInClassFolder
+end