Sha256: 6b4b19f76dd88346a26ec8facc726493b4d8b68ee05b125a9e9616a5956b3602

Contents?: true

Size: 395 Bytes

Versions: 11

Compression:

Stored size: 395 Bytes

Contents

require 'spec_helper'


describe "bundle executable" do
  it "returns non-zero exit status when passed unrecognized options" do
    bundle '--invalid_argument', :exitstatus => true
    expect(exitstatus).to_not be_zero
  end

  it "returns non-zero exit status when passed unrecognized task" do
    bundle 'unrecognized-tast', :exitstatus => true
    expect(exitstatus).to_not be_zero
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bundler-1.5.3 spec/bundler/cli_rspec.rb
bundler-1.6.0.pre.1 spec/bundler/cli_rspec.rb
bundler-1.5.2 spec/bundler/cli_rspec.rb
bundler-1.3.6 spec/bundler/cli_rspec.rb
bundler-1.5.1 spec/bundler/cli_rspec.rb
bundler-1.5.0 spec/bundler/cli_rspec.rb
bundler-1.5.0.rc.2 spec/bundler/cli_rspec.rb
bundler-1.5.0.rc.1 spec/bundler/cli_rspec.rb
bundler-1.4.0.rc.1 spec/bundler/cli_rspec.rb
bundler-1.4.0.pre.2 spec/bundler/cli_rspec.rb
bundler-1.4.0.pre.1 spec/bundler/cli_rspec.rb