summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/version_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2025-06-10 16:11:57 +0200
committerHiroshi SHIBATA <[email protected]>2025-06-19 10:23:36 +0900
commit441f18df5279ba8f921015dcdd9ed1e7299660e9 ()
treeb2d689dc543e951341008ccf97a468fb76938db6 /spec/bundler/commands/version_spec.rb
parent471da0f0bd8adcff4a32d51fcf5fe8828f05d6b0 (diff)
Skip to Bundler 4 directly
-rw-r--r--spec/bundler/commands/version_spec.rb6
1 files changed, 3 insertions, 3 deletions
@@ -15,7 +15,7 @@ RSpec.describe "bundle version" do
expect(out).to eq("Bundler version #{Bundler::VERSION}")
end
- it "outputs the version", bundler: "3" do
bundle "-v"
expect(out).to eq(Bundler::VERSION)
end
@@ -27,7 +27,7 @@ RSpec.describe "bundle version" do
expect(out).to eq("Bundler version #{Bundler::VERSION}")
end
- it "outputs the version", bundler: "3" do
bundle "--version"
expect(out).to eq(Bundler::VERSION)
end
@@ -39,7 +39,7 @@ RSpec.describe "bundle version" do
expect(out).to match(/\ABundler version #{Regexp.escape(Bundler::VERSION)} \(\d{4}-\d{2}-\d{2} commit #{COMMIT_HASH}\)\z/)
end
- it "outputs the version with build metadata", bundler: "3" do
bundle "version"
expect(out).to match(/\A#{Regexp.escape(Bundler::VERSION)} \(\d{4}-\d{2}-\d{2} commit #{COMMIT_HASH}\)\z/)
end