Sha256: 1f410af2e44231287c61255785c0ac005a00ae510199ba6322d3d98aad7c4208

Contents?: true

Size: 473 Bytes

Versions: 44

Compression:

Stored size: 473 Bytes

Contents

require "spec_helper"

describe "bundle command names" do
  it "work when given fully" do
    bundle "install"
    expect(err).to eq("")
    expect(out).not_to match(/Ambiguous command/)
  end

  it "work when not ambiguous" do
    bundle "ins"
    expect(err).to eq("")
    expect(out).not_to match(/Ambiguous command/)
  end

  it "print a friendly error when ambiguous" do
    bundle "i"
    expect(err).to eq("")
    expect(out).to match(/Ambiguous command/)
  end
end

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
bundler-1.7.15 spec/other/cli_dispatch_spec.rb
bundler-1.7.14 spec/other/cli_dispatch_spec.rb
bundler-1.7.13 spec/other/cli_dispatch_spec.rb
bundler-1.7.12 spec/other/cli_dispatch_spec.rb
bundler-1.7.11 spec/other/cli_dispatch_spec.rb
bundler-1.7.10 spec/other/cli_dispatch_spec.rb
bundler-1.7.9 spec/other/cli_dispatch_spec.rb
bundler-1.7.8 spec/other/cli_dispatch_spec.rb
bundler-1.7.7 spec/other/cli_dispatch_spec.rb
bundler-1.7.6 spec/other/cli_dispatch_spec.rb
bundler-1.6.9 spec/other/cli_dispatch_spec.rb
bundler-1.7.5 spec/other/cli_dispatch_spec.rb
bundler-1.6.8 spec/other/cli_dispatch_spec.rb
bundler-1.7.4 spec/other/cli_dispatch_spec.rb
bundler-1.6.7 spec/other/cli_dispatch_spec.rb
bundler-1.7.3 spec/other/cli_dispatch_spec.rb
bundler-1.6.6 spec/other/cli_dispatch_spec.rb
bundler-1.7.2 spec/other/cli_dispatch_spec.rb
bundler-1.7.1 spec/other/cli_dispatch_spec.rb
bundler-1.7.1.pre.3 spec/other/cli_dispatch_spec.rb