aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/autoloading_fixtures/raises_arbitrary_exception.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-03-16 07:40:11 +0100
committerXavier Noria <fxn@hashref.com>2016-03-16 07:40:11 +0100
commit4efb3608f04c57703016bc65f6081b03362047db (patch)
tree779e4c64875d37b7c1a537d358eb49236bd91dda /activesupport/test/autoloading_fixtures/raises_arbitrary_exception.rb
parent52ce6ece8c8f74064bb64e0a0b1ddd83092718e1 (diff)
downloadrails-4efb3608f04c57703016bc65f6081b03362047db.tar.gz
rails-4efb3608f04c57703016bc65f6081b03362047db.tar.bz2
rails-4efb3608f04c57703016bc65f6081b03362047db.zip
adds coverage for raising while autoloading
Diffstat (limited to 'activesupport/test/autoloading_fixtures/raises_arbitrary_exception.rb')
-rw-r--r--activesupport/test/autoloading_fixtures/raises_arbitrary_exception.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/test/autoloading_fixtures/raises_arbitrary_exception.rb b/activesupport/test/autoloading_fixtures/raises_arbitrary_exception.rb
new file mode 100644
index 0000000000..f980631883
--- /dev/null
+++ b/activesupport/test/autoloading_fixtures/raises_arbitrary_exception.rb
@@ -0,0 +1,3 @@
+RaisesArbitraryException = 1
+
+raise Exception, 'arbitray exception message'