diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-18 15:04:39 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-18 16:21:11 +0100 |
commit | 61f77b1dcd1d5fb18ada2c9a739557ef6c49a910 (patch) | |
tree | dd28afec12148c319255bbfe169ac4a011e1c423 /railties/test/fixtures/lib/generators | |
parent | 9fffdc5cdb80b1824473a6d7ae1fedf9e74aa748 (diff) | |
download | rails-61f77b1dcd1d5fb18ada2c9a739557ef6c49a910.tar.gz rails-61f77b1dcd1d5fb18ada2c9a739557ef6c49a910.tar.bz2 rails-61f77b1dcd1d5fb18ada2c9a739557ef6c49a910.zip |
More cleaning up on rails generators load path.
Diffstat (limited to 'railties/test/fixtures/lib/generators')
-rw-r--r-- | railties/test/fixtures/lib/generators/active_record/fixjour_generator.rb (renamed from railties/test/fixtures/lib/generators/active_record/fixjour/fixjour_generator.rb) | 2 | ||||
-rw-r--r-- | railties/test/fixtures/lib/generators/rails/javascripts_generator.rb | 4 | ||||
-rw-r--r-- | railties/test/fixtures/lib/generators/wrong_generator.rb | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/railties/test/fixtures/lib/generators/active_record/fixjour/fixjour_generator.rb b/railties/test/fixtures/lib/generators/active_record/fixjour_generator.rb index a7d079a1bc..7a4edb8bcb 100644 --- a/railties/test/fixtures/lib/generators/active_record/fixjour/fixjour_generator.rb +++ b/railties/test/fixtures/lib/generators/active_record/fixjour_generator.rb @@ -1,4 +1,4 @@ -require 'rails/generators/active_record' +require 'generators/active_record' module ActiveRecord module Generators diff --git a/railties/test/fixtures/lib/generators/rails/javascripts_generator.rb b/railties/test/fixtures/lib/generators/rails/javascripts_generator.rb deleted file mode 100644 index cad5e96784..0000000000 --- a/railties/test/fixtures/lib/generators/rails/javascripts_generator.rb +++ /dev/null @@ -1,4 +0,0 @@ -module Rails::Generators - class JavascriptsGenerator < Rails::Generators::NamedBase - end -end diff --git a/railties/test/fixtures/lib/generators/wrong_generator.rb b/railties/test/fixtures/lib/generators/wrong_generator.rb new file mode 100644 index 0000000000..6aa7cb052e --- /dev/null +++ b/railties/test/fixtures/lib/generators/wrong_generator.rb @@ -0,0 +1,3 @@ +# Old generator version +class WrongGenerator < Rails::Generator::NamedBase +end |