diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-01 22:19:54 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-02 10:27:40 +0200 |
commit | ea0b0c820de64fa3d67890071af8120dc503dcb7 (patch) | |
tree | f0b58ba1befcc866eec03fa92cc89576f8c84368 /railties/test/rails_generator/rails_resource_generator_test.rb | |
parent | c972b25df56e12a995774aa0291b2d8c2f3eabb5 (diff) | |
download | rails-ea0b0c820de64fa3d67890071af8120dc503dcb7.tar.gz rails-ea0b0c820de64fa3d67890071af8120dc503dcb7.tar.bz2 rails-ea0b0c820de64fa3d67890071af8120dc503dcb7.zip |
rm -rf rails_generator/generators
Diffstat (limited to 'railties/test/rails_generator/rails_resource_generator_test.rb')
-rw-r--r-- | railties/test/rails_generator/rails_resource_generator_test.rb | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/railties/test/rails_generator/rails_resource_generator_test.rb b/railties/test/rails_generator/rails_resource_generator_test.rb deleted file mode 100644 index b9a432cbff..0000000000 --- a/railties/test/rails_generator/rails_resource_generator_test.rb +++ /dev/null @@ -1,29 +0,0 @@ -require 'rails_generator/generator_test_helper' - -class RailsResourceGeneratorTest < GeneratorTestCase - def test_resource_generates_resources - run_generator('resource', %w(Product name:string)) - - assert_generated_controller_for :products - assert_generated_model_for :product - assert_generated_fixtures_for :products - assert_generated_functional_test_for :products - assert_generated_helper_for :products - assert_generated_helper_test_for :products - assert_generated_migration :create_products - assert_added_route_for :products - end - - def test_resource_skip_migration_skips_migration - run_generator('resource', %w(Product name:string --skip-migration)) - - assert_generated_controller_for :products - assert_generated_model_for :product - assert_generated_fixtures_for :products - assert_generated_functional_test_for :products - assert_generated_helper_for :products - assert_generated_helper_test_for :products - assert_skipped_migration :create_products - assert_added_route_for :products - end -end |