Sha256: 31d05874a4846aa12f8315da153e412d9c48d1c570e0a71e3ee13c6a745504db
Contents?: true
Size: 970 Bytes
Versions: 5
Compression:
Stored size: 970 Bytes
Contents
require 'spec_helper' describe VMC::Start::Info do describe 'metadata' do let(:command) { Mothership.commands[:info] } describe 'command' do subject { command } its(:description) { should eq "Display information on the current target, user, etc." } it { expect(Mothership::Help.group(:start)).to include(subject) } end describe 'inputs' do subject { command.inputs } it "is not missing any descriptions" do subject.each do |_, attrs| expect(attrs[:description]).to be expect(attrs[:description].strip).to_not be_empty end end end describe 'flags' do subject { command.flags } its(["-f"]) { should eq :frameworks } its(["-r"]) { should eq :runtimes } its(["-s"]) { should eq :services } its(["-a"]) { should eq :all } end describe 'arguments' do subject { command.arguments } it { should be_empty } end end end
Version data entries
5 entries across 5 versions & 1 rubygems