diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-04 18:13:27 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-04 20:17:32 +0200 |
commit | b277cf28e8a6f5636d0485ab8c04ea0660444440 (patch) | |
tree | e7b99a8e16308854a2b1dadbb50f0c69daf418b7 /railties/test | |
parent | 35925a8995e4b3522e4a4e4e52a3a18c9c1cee52 (diff) | |
download | rails-b277cf28e8a6f5636d0485ab8c04ea0660444440.tar.gz rails-b277cf28e8a6f5636d0485ab8c04ea0660444440.tar.bz2 rails-b277cf28e8a6f5636d0485ab8c04ea0660444440.zip |
Allow scaffold controller to load action_orm files on demand.
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/scaffold_controller_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/scaffold_controller_generator_test.rb b/railties/test/generators/scaffold_controller_generator_test.rb index 46b37d0cde..1f0060d11e 100644 --- a/railties/test/generators/scaffold_controller_generator_test.rb +++ b/railties/test/generators/scaffold_controller_generator_test.rb @@ -100,7 +100,7 @@ class ScaffoldControllerGeneratorTest < GeneratorsTestCase def test_error_is_shown_if_orm_does_not_provide_interface error = capture(:stderr){ run_generator ["User", "--orm=unknown"] } assert_equal "Could not load Unknown::Generators::ActionORM, skipping controller. " << - "Error: uninitialized constant Unknown.\n", error + "Error: no such file to load -- generators/unknown.\n", error end protected |