diff options
| author | mo khan <mo@mokhan.ca> | 2022-02-05 22:21:10 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2022-02-05 22:21:10 -0700 |
| commit | 58195b7d28d7421b18c1aa372c46974ab7acf24f (patch) | |
| tree | ec17f26f408cc4ab367ba8cc3bf167cc7fb643a4 | |
| parent | 38bcae9c3f56639b159290388698822a3b7f9729 (diff) | |
test: update to examples repomain
| -rw-r--r-- | spec/integration/dependabot/cli_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/integration/dependabot/cli_spec.rb b/spec/integration/dependabot/cli_spec.rb index 068aa3f..b27a1f1 100644 --- a/spec/integration/dependabot/cli_spec.rb +++ b/spec/integration/dependabot/cli_spec.rb @@ -10,7 +10,7 @@ RSpec.describe Dependabot::CLI, type: :cli do context "when scanning a bundler v1 project" do specify do within_tmp_dir do |path| - system "git clone --quiet https://github.com/dependanot/dependalot ." + system "git clone --quiet https://github.com/dependanot/examples ." system "#{dependabot} scan #{path}/src/bundler/v1/" expect(`git branch | grep dependanot | wc -l`.chomp.to_i).to be > 35 end @@ -20,7 +20,7 @@ RSpec.describe Dependabot::CLI, type: :cli do context "when scanning a bundler v2 project" do specify do within_tmp_dir do |path| - system "git clone --quiet https://github.com/dependanot/dependalot ." + system "git clone --quiet https://github.com/dependanot/examples ." system "#{dependabot} scan #{path}/src/bundler/v2/" expect(`git branch | grep dependanot | wc -l`.chomp.to_i).to be > 40 end @@ -30,7 +30,7 @@ RSpec.describe Dependabot::CLI, type: :cli do context "when scanning an npm project" do specify do within_tmp_dir do |path| - system "git clone --quiet https://github.com/dependanot/dependalot ." + system "git clone --quiet https://github.com/dependanot/examples ." system "#{dependabot} scan #{path}/src/npm/" expect(`git branch | grep dependanot | wc -l`.chomp.to_i).to eq(1) end |
