diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-23 19:10:42 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-23 19:10:42 +0200 |
commit | 4494a752c3c568c65fa899c54486153a1a5fa187 (patch) | |
tree | 60149451a075242bd36c5298ea9838d1d2d50f2f /railties/test/generators/rails_resource_generator_test.rb | |
parent | 75fbd7393606b9b026418229eb3eb38542753d43 (diff) | |
download | rails-4494a752c3c568c65fa899c54486153a1a5fa187.tar.gz rails-4494a752c3c568c65fa899c54486153a1a5fa187.tar.bz2 rails-4494a752c3c568c65fa899c54486153a1a5fa187.zip |
Change current sstructure.
Diffstat (limited to 'railties/test/generators/rails_resource_generator_test.rb')
-rw-r--r-- | railties/test/generators/rails_resource_generator_test.rb | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/railties/test/generators/rails_resource_generator_test.rb b/railties/test/generators/rails_resource_generator_test.rb deleted file mode 100644 index 1f5bd0ef1e..0000000000 --- a/railties/test/generators/rails_resource_generator_test.rb +++ /dev/null @@ -1,29 +0,0 @@ -require 'generators/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 |