git grep -l rubocop:todo test/ | xargs gsed -i 's|rubocop:todo|rubocop:disable|g'

This commit is contained in:
Douglas Eichelberger 2023-01-23 11:51:12 -08:00
parent c45efc6eff
commit 49ca993074
3 changed files with 7 additions and 7 deletions

View File

@ -18,7 +18,7 @@ describe GitDownloadStrategy do
def git_commit_all
system "git", "add", "--all"
system "git", "commit", "-m", "commit number #{@commit_id}" # rubocop:todo RSpec/InstanceVariable
system "git", "commit", "-m", "commit number #{@commit_id}" # rubocop:disable RSpec/InstanceVariable
@commit_id += 1
end

View File

@ -119,7 +119,7 @@ RSpec.shared_context "integration test" do # rubocop:disable RSpec/ContextWordin
end
Bundler.with_unbundled_env do
stdout, stderr, status = Open3.capture3(env, *@ruby_args, *args) # rubocop:todo RSpec/InstanceVariable
stdout, stderr, status = Open3.capture3(env, *@ruby_args, *args) # rubocop:disable RSpec/InstanceVariable
$stdout.print stdout
$stderr.print stderr
status

View File

@ -45,12 +45,12 @@ describe Utils::Git do
end
let(:file) { "README.md" }
let(:file_hash1) { @h1[0..6] } # rubocop:todo RSpec/InstanceVariable
let(:file_hash2) { @h2[0..6] } # rubocop:todo RSpec/InstanceVariable
let(:file_hash1) { @h1[0..6] } # rubocop:disable RSpec/InstanceVariable
let(:file_hash2) { @h2[0..6] } # rubocop:disable RSpec/InstanceVariable
let(:files) { ["README.md", "LICENSE.txt"] }
let(:files_hash1) { [@h3[0..6], ["LICENSE.txt"]] } # rubocop:todo RSpec/InstanceVariable
let(:files_hash2) { [@h2[0..6], ["README.md"]] } # rubocop:todo RSpec/InstanceVariable
let(:cherry_pick_commit) { @cherry_pick_commit[0..6] } # rubocop:todo RSpec/InstanceVariable
let(:files_hash1) { [@h3[0..6], ["LICENSE.txt"]] } # rubocop:disable RSpec/InstanceVariable
let(:files_hash2) { [@h2[0..6], ["README.md"]] } # rubocop:disable RSpec/InstanceVariable
let(:cherry_pick_commit) { @cherry_pick_commit[0..6] } # rubocop:disable RSpec/InstanceVariable
describe "#cherry_pick!" do
it "can cherry pick a commit" do