diff options
author | José Valim <jose.valim@gmail.com> | 2009-11-03 20:50:39 -0200 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-03 16:32:47 -0800 |
commit | e15b5eda2b4888764cd0c63a297136babac026d3 (patch) | |
tree | 065ceaf8dbe7e3007fc31524375003321f13c40b /railties/test/fixtures/lib | |
parent | f950d0b4af54c3d387024dce2c5e2bc56aef0fc3 (diff) | |
download | rails-e15b5eda2b4888764cd0c63a297136babac026d3.tar.gz rails-e15b5eda2b4888764cd0c63a297136babac026d3.tar.bz2 rails-e15b5eda2b4888764cd0c63a297136babac026d3.zip |
Avoid duplicated names on help description and show proper error message if trying to load a Rails 2.x generator.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'railties/test/fixtures/lib')
-rw-r--r-- | railties/test/fixtures/lib/generators/foobar/foobar_generator.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/test/fixtures/lib/generators/foobar/foobar_generator.rb b/railties/test/fixtures/lib/generators/foobar/foobar_generator.rb new file mode 100644 index 0000000000..d1de8c56fa --- /dev/null +++ b/railties/test/fixtures/lib/generators/foobar/foobar_generator.rb @@ -0,0 +1,4 @@ +module Foobar + class FoobarGenerator < Rails::Generators::Base + end +end |