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