diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-11-14 19:04:17 -0600 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-11-16 00:04:34 +0100 |
commit | 73443329de6817b32ea0fa65889056c146181bca (patch) | |
tree | 8844b5fcd87dff50e5572d7d129c62c7714554d6 /railties/test/generators | |
parent | d988fa820a0131b7ca44f503b60581ab8df080e1 (diff) | |
download | rails-73443329de6817b32ea0fa65889056c146181bca.tar.gz rails-73443329de6817b32ea0fa65889056c146181bca.tar.bz2 rails-73443329de6817b32ea0fa65889056c146181bca.zip |
Add skip-gemspec option to 'plugin new' generator
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/plugin_new_generator_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/test/generators/plugin_new_generator_test.rb b/railties/test/generators/plugin_new_generator_test.rb index 12cae7cfdf..43d7523a4c 100644 --- a/railties/test/generators/plugin_new_generator_test.rb +++ b/railties/test/generators/plugin_new_generator_test.rb @@ -146,6 +146,11 @@ class PluginNewGeneratorTest < Rails::Generators::TestCase assert_no_file "test/dummy" end + def test_skipping_gemspec + run_generator [destination_root, "--skip-gemspec"] + assert_no_file "bukkits.gemspec" + end + protected def action(*args, &block) |