diff options
author | Arun Agrawal <arunagw@gmail.com> | 2012-06-08 18:29:23 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2012-06-08 22:39:14 +0530 |
commit | 5fa87281ece411393cb167f03b1deda014a82593 (patch) | |
tree | 9ecd99a13c42c0df2001e0f3d2137d1cf9eec0a6 /railties/lib | |
parent | cbfcabc9e9c76cba6f335b45aa158ba38683188a (diff) | |
download | rails-5fa87281ece411393cb167f03b1deda014a82593.tar.gz rails-5fa87281ece411393cb167f03b1deda014a82593.tar.bz2 rails-5fa87281ece411393cb167f03b1deda014a82593.zip |
We should not include engine.rake file into rake
if we are passing -T which is skip_test_unit
See issue #6673 for more details.
I saw that we are not creating dummy app even if
we do skip_test_unit.
Fixes #6673
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/templates/Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/templates/Rakefile b/railties/lib/rails/generators/rails/plugin_new/templates/Rakefile index 743036362e..1369140537 100644 --- a/railties/lib/rails/generators/rails/plugin_new/templates/Rakefile +++ b/railties/lib/rails/generators/rails/plugin_new/templates/Rakefile @@ -14,7 +14,7 @@ RDoc::Task.new(:rdoc) do |rdoc| rdoc.rdoc_files.include('lib/**/*.rb') end -<% if full? && !options[:skip_active_record] -%> +<% if full? && !options[:skip_active_record] && !options[:skip_test_unit] -%> APP_RAKEFILE = File.expand_path("../<%= dummy_path -%>/Rakefile", __FILE__) load 'rails/tasks/engine.rake' <% end %> |