Sha256: 95bb78336f5943f4c76c3582f3eb4bc66bbc8a000f7fedc9c068cb0f82bba57a

Contents?: true

Size: 715 Bytes

Versions: 123

Compression:

Stored size: 715 Bytes

Contents

require 'spec_helper'

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

    describe 'command' do
      subject { command }
      its(:description) { should eq "Unbind a service from 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/unbind_spec.rb
cf-5.4.7.rc1 spec/cf/cli/service/unbind_spec.rb
cf-5.4.5 spec/cf/cli/service/unbind_spec.rb
cf-5.4.4 spec/cf/cli/service/unbind_spec.rb
trucker-cli-0.0.3 spec/cf/cli/service/unbind_spec.rb
cf-5.4.3 spec/cf/cli/service/unbind_spec.rb
cf-5.4.2 spec/cf/cli/service/unbind_spec.rb
trucker-cli-0.0.2 spec/cf/cli/service/unbind_spec.rb
trucker-cli-0.0.1 spec/cf/cli/service/unbind_spec.rb
cf-5.4.1 spec/cf/cli/service/unbind_spec.rb
cf-5.4.1.rc1 spec/cf/cli/service/unbind_spec.rb
cf-5.4.0 spec/cf/cli/service/unbind_spec.rb
cf-5.3.1 spec/cf/cli/service/unbind_spec.rb
cf-5.3.0 spec/cf/cli/service/unbind_spec.rb
cf-5.2.2 spec/cf/cli/service/unbind_spec.rb
cf-5.2.1.rc15 spec/cf/cli/service/unbind_spec.rb
cf-5.2.1.rc14 spec/cf/cli/service/unbind_spec.rb
cf-5.2.1.rc13 spec/cf/cli/service/unbind_spec.rb
cf-5.2.1.rc12 spec/cf/cli/service/unbind_spec.rb
cf-5.2.1.rc11 spec/cf/cli/service/unbind_spec.rb