diff options
Diffstat (limited to 'railties/test/rails_generator_test.rb')
-rw-r--r-- | railties/test/rails_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/rails_generator_test.rb b/railties/test/rails_generator_test.rb index 056372ca47..3a699b04b2 100644 --- a/railties/test/rails_generator_test.rb +++ b/railties/test/rails_generator_test.rb @@ -52,7 +52,7 @@ class RailsGeneratorTest < Test::Unit::TestCase end def test_instance_missing_generator - assert_raise(LoadError) { + assert_raise(Rails::Generator::GeneratorError) { Rails::Generator.instance('missing_generator') } end |