diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-01-15 10:27:30 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-01-15 10:29:42 +0900 |
commit | a89a06bb10e76c8377582650007cb5b66e2f248f (patch) | |
tree | c7cbb1a7a614b8716df3194bd22ca4eb3bf3647d /railties | |
parent | aaece61a53dc943ac0e4b696c39ba61f46b7c7a3 (diff) | |
download | rails-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.rb | 1 |
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 |