rubocop --autocorrect --disable-uncorrectable

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

View File

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

View File

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

View File

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