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.2.1.rc10 spec/cf/cli/service/bind_spec.rb
cf-5.2.1.rc9 spec/cf/cli/service/bind_spec.rb
cf-5.2.1.rc8 spec/cf/cli/service/bind_spec.rb
cf-5.2.1.rc7 spec/cf/cli/service/bind_spec.rb
cf-5.2.1.rc6 spec/cf/cli/service/bind_spec.rb
cf-5.2.1.rc5 spec/cf/cli/service/bind_spec.rb
cf-5.2.1.rc4 spec/cf/cli/service/bind_spec.rb
cf-5.2.1.rc3 spec/cf/cli/service/bind_spec.rb
cf-5.2.1.rc2 spec/cf/cli/service/bind_spec.rb
cf-5.2.0 spec/cf/cli/service/bind_spec.rb
cf-5.1.0.rc1 spec/cf/cli/service/bind_spec.rb
cf-5.0.0.rc4 spec/cf/cli/service/bind_spec.rb
cf-5.0.0.rc3 spec/cf/cli/service/bind_spec.rb
cf-5.0.0.rc1 spec/cf/cli/service/bind_spec.rb
cf-4.2.9.rc5 spec/cf/cli/service/bind_spec.rb
cf-4.2.9.rc3 spec/cf/cli/service/bind_spec.rb
cf-4.2.10.rc2 spec/cf/cli/service/bind_spec.rb
cf-4.2.10.rc1 spec/cf/cli/service/bind_spec.rb
cf-4.2.9.rc2 spec/cf/cli/service/bind_spec.rb
cf-4.2.8 spec/cf/cli/service/bind_spec.rb