summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/issue_spec.rb
blob: 04c575130e985ed5815b44d32bd56d996a8513d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

RSpec.describe "bundle issue" do
  it "exits with a message" do
    install_gemfile <<-G
      source "file://#{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