rubocop-extension-generator icon indicating copy to clipboard operation
rubocop-extension-generator copied to clipboard

Fix gem generation and smoke test run.

Open fudanchii opened this issue 4 years ago • 0 comments

The newer version of bundle (e.g. 2.1.4) seems to have new option to automatically include either rspec or minitest, e.g. via:

BUNDLE_GEM__TEST: "rspec"

Check existing gem 'rspec' declaration and skip Gemfile patching if it's exist.

Also fix smoke test to patch the spec first so we can have success rspec run again.

fudanchii avatar Apr 09 '20 00:04 fudanchii