From dbb970fa8e0fe5120bd7c5968a33f10cd77fff6f Mon Sep 17 00:00:00 2001
From: "yuuji.yaginuma" <yuuji.yaginuma@gmail.com>
Date: Sun, 8 Nov 2015 16:23:49 +0900
Subject: don't package test files in plugin gemspec

In rails engine, there is a dummy application under test,
the size of the test file is increased.

However, there is no need test files for most users,
I think it good to have so as not included by default.
---
 railties/lib/rails/generators/rails/plugin/templates/%name%.gemspec | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'railties/lib/rails')

diff --git a/railties/lib/rails/generators/rails/plugin/templates/%name%.gemspec b/railties/lib/rails/generators/rails/plugin/templates/%name%.gemspec
index ff242adbab..3f5682b0c1 100644
--- a/railties/lib/rails/generators/rails/plugin/templates/%name%.gemspec
+++ b/railties/lib/rails/generators/rails/plugin/templates/%name%.gemspec
@@ -15,9 +15,6 @@ Gem::Specification.new do |s|
   s.license     = "MIT"
 
   s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
-<% unless options.skip_test? -%>
-  s.test_files = Dir["test/**/*"]
-<% end -%>
 
   <%= '# ' if options.dev? || options.edge? -%>s.add_dependency "rails", "~> <%= Rails::VERSION::STRING %>"
 <% unless options[:skip_active_record] -%>
-- 
cgit v1.2.3