summaryrefslogtreecommitdiff
path: root/spec/bundler
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-15 18:07:35 +0900
committergit <svn-admin@ruby-lang.org>2023-03-16 01:59:12 +0000
commitf3b129241c2f12c2db8382be67fa304d4034c9ba (patch)
tree1bfdb8d987d70bd69137c5abce5299419792b47a /spec/bundler
parent760b8b7d2413670808499eb972abe61400fe6b46 (diff)
downloadruby-f3b129241c2f12c2db8382be67fa304d4034c9ba.tar.gz
[rubygems/rubygems] Applied Layout/SpaceAroundOperators cop
https://github.com/rubygems/rubygems/commit/3139587be9
Diffstat (limited to 'spec/bundler')
-rw-r--r--spec/bundler/install/gemfile/sources_spec.rb2
-rw-r--r--spec/bundler/runtime/self_management_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/install/gemfile/sources_spec.rb b/spec/bundler/install/gemfile/sources_spec.rb
index b20ab0090f..7189967d29 100644
--- a/spec/bundler/install/gemfile/sources_spec.rb
+++ b/spec/bundler/install/gemfile/sources_spec.rb
@@ -1074,7 +1074,7 @@ RSpec.describe "bundle install with gems on multiple sources" do
it "refuses to install the existing lockfile and prints an error", :bundler => "3" do
bundle "config set --local deployment true"
- bundle "install", :artifice => "compact_index", :raise_on_error =>false
+ bundle "install", :artifice => "compact_index", :raise_on_error => false
expect(lockfile).to eq(aggregate_gem_section_lockfile)
expect(err).to include("Your lockfile contains a single rubygems source section with multiple remotes, which is insecure.")
diff --git a/spec/bundler/runtime/self_management_spec.rb b/spec/bundler/runtime/self_management_spec.rb
index 61cfc9b795..700084babf 100644
--- a/spec/bundler/runtime/self_management_spec.rb
+++ b/spec/bundler/runtime/self_management_spec.rb
@@ -92,7 +92,7 @@ RSpec.describe "Self management", :rubygems => ">= 3.3.0.dev", :realworld => tru
end
it "shows a discrete message if locked bundler does not exist" do
- missing_minor ="#{Bundler::VERSION[0]}.999.999"
+ missing_minor = "#{Bundler::VERSION[0]}.999.999"
lockfile_bundled_with(missing_minor)