diff options
| author | mo khan <mo@mokhan.ca> | 2021-12-24 15:10:35 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2021-12-24 15:10:35 -0700 |
| commit | a0a0b3601f7bba49718140b4b03d114761f81506 (patch) | |
| tree | a94a00200efa0e9c08b79728757ca7b19b875215 | |
| parent | 0aaa2daf488884ea1f7216fc4be221e81ceb8956 (diff) | |
chore: install multiple versions of bundler during setup
| -rwxr-xr-x | script/setup | 2 | ||||
| -rw-r--r-- | spec/integration/dependabot/cli_spec.rb | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/script/setup b/script/setup index 809cbe2..ff55c1f 100755 --- a/script/setup +++ b/script/setup @@ -4,5 +4,5 @@ set -e cd "$(dirname "$0")/.." -gem install bundler +gem install "bundler:~>1.0" "bundler:~>2.0" bundle install diff --git a/spec/integration/dependabot/cli_spec.rb b/spec/integration/dependabot/cli_spec.rb index b1de7ec..d4b45b7 100644 --- a/spec/integration/dependabot/cli_spec.rb +++ b/spec/integration/dependabot/cli_spec.rb @@ -11,7 +11,6 @@ RSpec.describe Dependabot::CLI, type: :cli do specify do within_tmp_dir do |path| 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 end |
