diff options
author | Utkarsh Gupta <utkarsh@debian.org> | 2020-06-21 21:43:46 +0530 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-07-15 16:05:12 +0900 |
commit | 077dcacb0892d8cd36cc45ae8869031c62502919 (patch) | |
tree | 90410ab8eb0949e41a8e6755c6332fe72ce26e7f /spec | |
parent | ecb87b55d8ef3e2e9b5ce2c66d51d65228316754 (diff) |
[rubygems/rubygems] Use `--config .rubocop.yml` instead
because rubocop configuration inheritance is
messed up and when using `--ignore-parent-exclusion`,
even though the exit status is 0, the example
still fails because of the configuration issue.
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
https://github.com/rubygems/rubygems/commit/3e20b2738c
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3275
Diffstat (limited to 'spec')
-rw-r--r-- | spec/bundler/commands/newgem_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/commands/newgem_spec.rb b/spec/bundler/commands/newgem_spec.rb index 0287fb6e26..4427a65e88 100644 --- a/spec/bundler/commands/newgem_spec.rb +++ b/spec/bundler/commands/newgem_spec.rb @@ -180,7 +180,7 @@ RSpec.describe "bundle gem" do gems = ["rake", "rubocop -v 0.80.1"] path = Bundler.feature_flag.default_install_uses_path? ? local_gem_path(:base => bundled_app(gem_name)) : system_gem_path realworld_system_gems gems, :path => path - bundle "exec rubocop --ignore-parent-exclusion", :dir => bundled_app(gem_name) + bundle "exec rubocop --config .rubocop.yml", :dir => bundled_app(gem_name) expect($?.exitstatus).to eq(0) if exitstatus end end |