aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/autoloading_fixtures
diff options
context:
space:
mode:
authorNicholas Seckar <nseckar@gmail.com>2006-11-01 23:21:13 +0000
committerNicholas Seckar <nseckar@gmail.com>2006-11-01 23:21:13 +0000
commit5cc682da0786478e95a7fde04fafa69808341efb (patch)
tree6f3d66eff63e1fde99903c3179fb6e8dd7f57a17 /activesupport/test/autoloading_fixtures
parent70840d4b7fcd16c45b7be69c51b0bd1d27c7cbff (diff)
downloadrails-5cc682da0786478e95a7fde04fafa69808341efb.tar.gz
rails-5cc682da0786478e95a7fde04fafa69808341efb.tar.bz2
rails-5cc682da0786478e95a7fde04fafa69808341efb.zip
Update dependencies to allow constants to be defined alongside their siblings.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5386 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test/autoloading_fixtures')
-rw-r--r--activesupport/test/autoloading_fixtures/class_folder/nested_class.rb3
-rw-r--r--activesupport/test/autoloading_fixtures/multiple_constant_file.rb2
2 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/test/autoloading_fixtures/class_folder/nested_class.rb b/activesupport/test/autoloading_fixtures/class_folder/nested_class.rb
index 08bed842cf..77ea230d2c 100644
--- a/activesupport/test/autoloading_fixtures/class_folder/nested_class.rb
+++ b/activesupport/test/autoloading_fixtures/class_folder/nested_class.rb
@@ -1,4 +1,7 @@
class ClassFolder
class NestedClass
end
+
+ class SiblingClass
+ end
end
diff --git a/activesupport/test/autoloading_fixtures/multiple_constant_file.rb b/activesupport/test/autoloading_fixtures/multiple_constant_file.rb
new file mode 100644
index 0000000000..a9ff4eb89c
--- /dev/null
+++ b/activesupport/test/autoloading_fixtures/multiple_constant_file.rb
@@ -0,0 +1,2 @@
+MultipleConstantFile = 10
+SiblingConstant = MultipleConstantFile * 2