aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-01-15 10:27:30 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-01-15 10:29:42 +0900
commita89a06bb10e76c8377582650007cb5b66e2f248f (patch)
treec7cbb1a7a614b8716df3194bd22ca4eb3bf3647d /railties
parentaaece61a53dc943ac0e4b696c39ba61f46b7c7a3 (diff)
downloadrails-a89a06bb10e76c8377582650007cb5b66e2f248f.tar.gz
rails-a89a06bb10e76c8377582650007cb5b66e2f248f.tar.bz2
rails-a89a06bb10e76c8377582650007cb5b66e2f248f.zip
remove unnecessary addition of `lib`
`TestTask` add `lib` directory by default. Ref: https://github.com/ruby/rake/blob/master/lib/rake/testtask.rb#L39..L41
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/plugin/plugin_generator.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
index c7cfa74bda..22604d4d9d 100644
--- a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
+++ b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
@@ -415,7 +415,6 @@ task default: :test
require 'rake/testtask'
Rake::TestTask.new(:test) do |t|
- t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = false