aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/autoloading_fixtures
diff options
context:
space:
mode:
authorNicholas Seckar <nseckar@gmail.com>2006-08-08 22:08:09 +0000
committerNicholas Seckar <nseckar@gmail.com>2006-08-08 22:08:09 +0000
commit9bd007c7c7270f2816c6cde4a40b138edf82130c (patch)
tree190d0d86118682148b6ee9451e8c6a7c541bb45f /activesupport/test/autoloading_fixtures
parent4635d33996eaa2158e5149871af17a8612949614 (diff)
downloadrails-9bd007c7c7270f2816c6cde4a40b138edf82130c.tar.gz
rails-9bd007c7c7270f2816c6cde4a40b138edf82130c.tar.bz2
rails-9bd007c7c7270f2816c6cde4a40b138edf82130c.zip
Add forgotten files; Fix double loading errors.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test/autoloading_fixtures')
-rw-r--r--activesupport/test/autoloading_fixtures/counting_loader.rb5
-rw-r--r--activesupport/test/autoloading_fixtures/module_with_custom_const_missing/a/b.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/test/autoloading_fixtures/counting_loader.rb b/activesupport/test/autoloading_fixtures/counting_loader.rb
new file mode 100644
index 0000000000..4225c4412c
--- /dev/null
+++ b/activesupport/test/autoloading_fixtures/counting_loader.rb
@@ -0,0 +1,5 @@
+$counting_loaded_times ||= 0
+$counting_loaded_times += 1
+
+module CountingLoader
+end
diff --git a/activesupport/test/autoloading_fixtures/module_with_custom_const_missing/a/b.rb b/activesupport/test/autoloading_fixtures/module_with_custom_const_missing/a/b.rb
new file mode 100644
index 0000000000..d12d02f3aa
--- /dev/null
+++ b/activesupport/test/autoloading_fixtures/module_with_custom_const_missing/a/b.rb
@@ -0,0 +1 @@
+ModuleWithCustomConstMissing::A::B = "10" \ No newline at end of file