Sha256: 713a81aebf1eff8af09d2e6599a3bf6e84b76fd426c02c72c2e94e7072d52fe0
Contents?: true
Size: 715 Bytes
Versions: 30
Compression:
Stored size: 715 Bytes
Contents
require 'spec_helper' describe VMC::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
30 entries across 30 versions & 3 rubygems