summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2025-10-09 16:12:02 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-10-09 20:37:27 +0900
commit787d0227127f38e7a219714d754eb8506b005e0d (patch)
tree185ba64309191ba8527f50be4020c0a47452b848
parentccfea54d9bf8b5024b906086b94f20fef88d6693 (diff)
[rubygems/rubygems] bin/rubocop -A
https://github.com/rubygems/rubygems/commit/12753b3262
-rw-r--r--spec/bundler/bundler/cli_spec.rb2
-rw-r--r--spec/bundler/commands/version_spec.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/bundler/cli_spec.rb b/spec/bundler/bundler/cli_spec.rb
index 927906e837..07f589bd5d 100644
--- a/spec/bundler/bundler/cli_spec.rb
+++ b/spec/bundler/bundler/cli_spec.rb
@@ -266,7 +266,7 @@ end
RSpec.describe "bundler executable" do
it "shows the bundler version just as the `bundle` executable does" do
bundler "--version"
- expect(out).to eq("#{Bundler::VERSION}")
+ expect(out).to eq(Bundler::VERSION.to_s)
bundle "config simulate_version 5"
bundler "--version"
diff --git a/spec/bundler/commands/version_spec.rb b/spec/bundler/commands/version_spec.rb
index c683cc0790..995a6e1e20 100644
--- a/spec/bundler/commands/version_spec.rb
+++ b/spec/bundler/commands/version_spec.rb
@@ -12,7 +12,7 @@ RSpec.describe "bundle version" do
context "with -v" do
it "outputs the version and virtual version if set" do
bundle "-v"
- expect(out).to eq("#{Bundler::VERSION}")
+ expect(out).to eq(Bundler::VERSION.to_s)
bundle "config simulate_version 5"
bundle "-v"
@@ -23,7 +23,7 @@ RSpec.describe "bundle version" do
context "with --version" do
it "outputs the version and virtual version if set" do
bundle "--version"
- expect(out).to eq("#{Bundler::VERSION}")
+ expect(out).to eq(Bundler::VERSION.to_s)
bundle "config simulate_version 5"
bundle "--version"