Sha256: 91d0a9d371608d74548904ec6e3342c8442fce5a836b9ba7389fd5f76059a4c5

Contents?: true

Size: 473 Bytes

Versions: 71

Compression:

Stored size: 473 Bytes

Contents

require "spec_helper"

module CF
  describe "Help"  do
    let(:global) { {} }
    let(:given) { {} }
    let(:inputs) { {:app => apps[0]} }
    let(:apps) { [build(:app)] }


    subject do
      capture_output { Mothership.new.invoke(:help) }
    end

    it "prints the cf version in the first line" do
      subject
      stdout.rewind
      expect(stdout.readlines.first).to match /Cloud Foundry Command Line Interface, version \[#{CF::VERSION}\]\n/
    end
  end
end

Version data entries

71 entries across 71 versions & 2 rubygems

Version Path
cf-5.4.7 spec/cf/cli/help_spec.rb
cf-5.4.7.rc1 spec/cf/cli/help_spec.rb
cf-5.4.5 spec/cf/cli/help_spec.rb
cf-5.4.4 spec/cf/cli/help_spec.rb
trucker-cli-0.0.3 spec/cf/cli/help_spec.rb
cf-5.4.3 spec/cf/cli/help_spec.rb
cf-5.4.2 spec/cf/cli/help_spec.rb
trucker-cli-0.0.2 spec/cf/cli/help_spec.rb
trucker-cli-0.0.1 spec/cf/cli/help_spec.rb
cf-5.4.1 spec/cf/cli/help_spec.rb
cf-5.4.1.rc1 spec/cf/cli/help_spec.rb
cf-5.4.0 spec/cf/cli/help_spec.rb
cf-5.3.1 spec/cf/cli/help_spec.rb
cf-5.3.0 spec/cf/cli/help_spec.rb
cf-5.2.2 spec/cf/cli/help_spec.rb
cf-5.2.1.rc15 spec/cf/cli/help_spec.rb
cf-5.2.1.rc14 spec/cf/cli/help_spec.rb
cf-5.2.1.rc13 spec/cf/cli/help_spec.rb
cf-5.2.1.rc12 spec/cf/cli/help_spec.rb
cf-5.2.1.rc11 spec/cf/cli/help_spec.rb