summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/version_spec.rb
diff options
context:
space:
mode:
-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