Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Raise LoadError instead of a runtime exception [#1498 state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
commit 4185fb1e58d8142162c3a39f9302559688dd431b 1 parent a0bb8bc
@karmi karmi authored lifo committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/test/fixtures/plugins/engines/engine/init.rb
View
2  railties/test/fixtures/plugins/engines/engine/init.rb
@@ -1,3 +1,3 @@
# My app/models dir must be in the load path.
require 'engine_model'
-raise 'missing model from my app/models dir' unless defined?(EngineModel)
+raise LoadError, 'missing model from my app/models dir' unless defined?(EngineModel)
Please sign in to comment.
Something went wrong with that request. Please try again.