aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/autoloading_fixtures
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-07-26 12:42:07 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2010-07-26 12:51:52 -0300
commit4ea1753fc2bcbaca0a50073463ef4b020a2e3c5f (patch)
tree230507dc98048cd0d7b132dcbc385698b9236b9e /activesupport/test/autoloading_fixtures
parent514624e53c7b3008e3c492ef01f4d85188cdbbd7 (diff)
downloadrails-4ea1753fc2bcbaca0a50073463ef4b020a2e3c5f.tar.gz
rails-4ea1753fc2bcbaca0a50073463ef4b020a2e3c5f.tar.bz2
rails-4ea1753fc2bcbaca0a50073463ef4b020a2e3c5f.zip
This is for making sure const_missing is triggered without warnings
Diffstat (limited to 'activesupport/test/autoloading_fixtures')
-rw-r--r--activesupport/test/autoloading_fixtures/loads_constant.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activesupport/test/autoloading_fixtures/loads_constant.rb b/activesupport/test/autoloading_fixtures/loads_constant.rb
index b5b80c46da..0b30dc8bca 100644
--- a/activesupport/test/autoloading_fixtures/loads_constant.rb
+++ b/activesupport/test/autoloading_fixtures/loads_constant.rb
@@ -1,4 +1,5 @@
module LoadsConstant
end
-RequiresConstant
+# The _ = assignment is to prevent warnings
+_ = RequiresConstant