Sha256: 79fc602e93b665c8fc9f5bbef56416fa7a58d070e0db5ed96b7c6447be023f20

Contents?: true

Size: 707 Bytes

Versions: 123

Compression:

Stored size: 707 Bytes

Contents

require 'spec_helper'

describe CF::Service::Bind do
  describe 'metadata' do
    let(:command) { Mothership.commands[:bind_service] }

    describe 'command' do
      subject { command }
      its(:description) { should eq "Bind a service to an application" }
      it { expect(Mothership::Help.group(:services, :manage)).to include(subject) }
    end

    include_examples 'inputs must have descriptions'

    describe 'arguments' do
      subject { command.arguments }
      it 'has the correct argument order' do
        should eq([
          { :type => :optional, :value => nil, :name => :service },
          { :type => :optional, :value => nil, :name => :app }
        ])
      end
    end
  end
end

Version data entries

123 entries across 123 versions & 2 rubygems

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