diff options
author | Utkarsh Gupta <utkarsh@debian.org> | 2020-06-30 12:35:38 +0530 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-07-15 16:05:12 +0900 |
commit | 8c65f612f4e4caaecfd3291907f48c9e075c0319 (patch) | |
tree | 644ac9de52a1239fbf6555bf1e2dd6efeb788f8a /lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt | |
parent | 40f73b3a0031e7bdbfbace37304602e0efc891fa (diff) |
[rubygems/rubygems] Fix remaining RuboCop issues
With #3731 and #3740 merged, this covers up the
remaining part of the issues.
This was discovered when one tries to create a gem
with a different framework.
Could be reproduced with:
`bundle gem foo --ext --test=test-unit`
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
https://github.com/rubygems/rubygems/commit/51b6457150
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3275
Diffstat (limited to 'lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt')
-rw-r--r-- | lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt b/lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt index 7d7db165ec..e05c387bfa 100644 --- a/lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt +++ b/lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt @@ -1,3 +1,5 @@ +# frozen_string_literal: true + $LOAD_PATH.unshift File.expand_path("../lib", __dir__) require "<%= config[:namespaced_path] %>" |