1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/bundler/commands/issue_spec.rb

17 lines
411 B
Ruby
Raw Normal View History

# frozen_string_literal: true
RSpec.describe "bundle issue" do
it "exits with a message" do
install_gemfile <<-G
source "#{file_uri_for(gem_repo1)}"
gem "rails"
G
bundle "issue"
expect(out).to include "Did you find an issue with Bundler?"
expect(out).to include "## Environment"
expect(out).to include "## Gemfile"
expect(out).to include "## Bundle Doctor"
end
end