git grep -l rubocop:todo test/ | xargs gsed -i 's|rubocop:todo|rubocop:disable|g'
This commit is contained in:
parent
c45efc6eff
commit
49ca993074
@ -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}" # rubocop:todo RSpec/InstanceVariable
|
system "git", "commit", "-m", "commit number #{@commit_id}" # rubocop:disable RSpec/InstanceVariable
|
||||||
@commit_id += 1
|
@commit_id += 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -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) # rubocop:todo RSpec/InstanceVariable
|
stdout, stderr, status = Open3.capture3(env, *@ruby_args, *args) # rubocop:disable RSpec/InstanceVariable
|
||||||
$stdout.print stdout
|
$stdout.print stdout
|
||||||
$stderr.print stderr
|
$stderr.print stderr
|
||||||
status
|
status
|
||||||
|
|||||||
@ -45,12 +45,12 @@ describe Utils::Git do
|
|||||||
end
|
end
|
||||||
|
|
||||||
let(:file) { "README.md" }
|
let(:file) { "README.md" }
|
||||||
let(:file_hash1) { @h1[0..6] } # rubocop:todo RSpec/InstanceVariable
|
let(:file_hash1) { @h1[0..6] } # rubocop:disable RSpec/InstanceVariable
|
||||||
let(:file_hash2) { @h2[0..6] } # rubocop:todo RSpec/InstanceVariable
|
let(:file_hash2) { @h2[0..6] } # rubocop:disable RSpec/InstanceVariable
|
||||||
let(:files) { ["README.md", "LICENSE.txt"] }
|
let(:files) { ["README.md", "LICENSE.txt"] }
|
||||||
let(:files_hash1) { [@h3[0..6], ["LICENSE.txt"]] } # 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:todo RSpec/InstanceVariable
|
let(:files_hash2) { [@h2[0..6], ["README.md"]] } # rubocop:disable RSpec/InstanceVariable
|
||||||
let(:cherry_pick_commit) { @cherry_pick_commit[0..6] } # rubocop:todo RSpec/InstanceVariable
|
let(:cherry_pick_commit) { @cherry_pick_commit[0..6] } # rubocop:disable RSpec/InstanceVariable
|
||||||
|
|
||||||
describe "#cherry_pick!" do
|
describe "#cherry_pick!" do
|
||||||
it "can cherry pick a commit" do
|
it "can cherry pick a commit" do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user