summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2021-12-22 15:17:08 -0700
committermo khan <mo@mokhan.ca>2021-12-22 15:17:08 -0700
commitd44e13eef3a0e8b6e358adebf2506ef4fddb885b (patch)
tree9766fea143d3807fb5d97b5fb6129554c8af62e1
parentca562a28399a56bc0112037b1d30f56a642fd45c (diff)
test: clone quietly
-rw-r--r--spec/integration/dependabot/cli_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/dependabot/cli_spec.rb b/spec/integration/dependabot/cli_spec.rb
index 8d650ba..4721a35 100644
--- a/spec/integration/dependabot/cli_spec.rb
+++ b/spec/integration/dependabot/cli_spec.rb
@@ -11,7 +11,7 @@ RSpec.describe Dependabot::CLI, type: :cli do
context "when scanning a bundler v1 project" do
it "publishes a pull request for each package" do
within_tmp_dir do |path|
- system "git clone https://github.com/dependanot/dependalot ."
+ system "git clone --quiet https://github.com/dependanot/dependalot ."
system "gem install 'bundler:~>1.0'"
system "#{dependabot} scan #{path}/src/bundler/v1/"
expect(`git branch | grep dependanot | wc -l`.chomp.to_i).to be > 35
@@ -22,7 +22,7 @@ RSpec.describe Dependabot::CLI, type: :cli do
context "when scanning a bundler v2 project" do
it "publishes a pull request for each package" do
within_tmp_dir do |path|
- system "git clone https://github.com/dependanot/dependalot ."
+ system "git clone --quiet https://github.com/dependanot/dependalot ."
system "#{dependabot} scan #{path}/src/bundler/v2/"
expect(`git branch | grep dependanot | wc -l`.chomp.to_i).to be > 40
end