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

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