diff options
author | José Valim <jose.valim@gmail.com> | 2011-06-09 00:01:00 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-06-09 00:01:00 -0700 |
commit | eb8c0a7b1a4ecad676e4d0733bbf91b88fb01e2a (patch) | |
tree | 714871363eaaba2123ceebc12e94b307aea6148c /railties/test/generators/shared_generator_tests.rb | |
parent | af3f0b6204dd81b4df50dbc567276bf5c8264ebe (diff) | |
parent | 331d58fb04821546b1e622290432a2dd13e52301 (diff) | |
download | rails-eb8c0a7b1a4ecad676e4d0733bbf91b88fb01e2a.tar.gz rails-eb8c0a7b1a4ecad676e4d0733bbf91b88fb01e2a.tar.bz2 rails-eb8c0a7b1a4ecad676e4d0733bbf91b88fb01e2a.zip |
Merge pull request #1356 from flippingbits/fix_engine_generator
Fix engine's generator
Diffstat (limited to 'railties/test/generators/shared_generator_tests.rb')
-rw-r--r-- | railties/test/generators/shared_generator_tests.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/shared_generator_tests.rb b/railties/test/generators/shared_generator_tests.rb index be9aef8a41..d3074afd91 100644 --- a/railties/test/generators/shared_generator_tests.rb +++ b/railties/test/generators/shared_generator_tests.rb @@ -67,12 +67,12 @@ module SharedGeneratorTests end def test_shebang_is_added_to_rails_file - run_generator [destination_root, "--ruby", "foo/bar/baz"] + run_generator [destination_root, "--ruby", "foo/bar/baz", "--full"] assert_file "script/rails", /#!foo\/bar\/baz/ end def test_shebang_when_is_the_same_as_default_use_env - run_generator [destination_root, "--ruby", Thor::Util.ruby_command] + run_generator [destination_root, "--ruby", Thor::Util.ruby_command, "--full"] assert_file "script/rails", /#!\/usr\/bin\/env/ end |