spec/vmc/cli/start/info_spec.rb in vmc-0.5.0.beta.5 vs spec/vmc/cli/start/info_spec.rb in vmc-0.5.0.beta.6
- old
+ new
@@ -8,19 +8,10 @@
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
+ include_examples 'inputs must have descriptions'
describe 'flags' do
subject { command.flags }
its(["-f"]) { should eq :frameworks }
\ No newline at end of file