Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix spec when local rubygems is misconfigured #24

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spec/bundler/multilock_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@
it "installs missing deps from alternate lockfiles before syncing" do
Bundler.with_unbundled_env do
`gem uninstall activemodel -a --force 2> #{File::NULL}`
`gem install activemodel -v 6.1.7.6`
`gem install activemodel -s https://rubygems.org -v 6.1.7.6`
end

with_gemfile(<<~RUBY) do
Expand All @@ -652,7 +652,7 @@

Bundler.with_unbundled_env do
`gem uninstall activemodel -v 6.1.7.6 --force 2> #{File::NULL}`
`gem install activemodel -v 6.1.6`
`gem install activemodel -s https://rubygems.org -v 6.1.6`
end

expect { invoke_bundler("check") }.to raise_error(/The following gems are missing/)
Expand Down
Loading