Skip to content

Commit 42eb187

Browse files
committed
[rubygems/rubygems] bin/rubocop -A
ruby/rubygems@12753b3262
1 parent 60b24da commit 42eb187

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

spec/bundler/bundler/cli_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def out_with_macos_man_workaround
266266
RSpec.describe "bundler executable" do
267267
it "shows the bundler version just as the `bundle` executable does" do
268268
bundler "--version"
269-
expect(out).to eq("#{Bundler::VERSION}")
269+
expect(out).to eq(Bundler::VERSION.to_s)
270270

271271
bundle "config simulate_version 5"
272272
bundler "--version"

spec/bundler/commands/version_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
context "with -v" do
1313
it "outputs the version and virtual version if set" do
1414
bundle "-v"
15-
expect(out).to eq("#{Bundler::VERSION}")
15+
expect(out).to eq(Bundler::VERSION.to_s)
1616

1717
bundle "config simulate_version 5"
1818
bundle "-v"
@@ -23,7 +23,7 @@
2323
context "with --version" do
2424
it "outputs the version and virtual version if set" do
2525
bundle "--version"
26-
expect(out).to eq("#{Bundler::VERSION}")
26+
expect(out).to eq(Bundler::VERSION.to_s)
2727

2828
bundle "config simulate_version 5"
2929
bundle "--version"

0 commit comments

Comments
 (0)