Sha256: 3ca9d5871761591cbc17141349855a74383cb1969bfa9caa5b88e0ba9838b3f0
Contents?: true
Size: 420 Bytes
Versions: 49
Compression:
Stored size: 420 Bytes
Contents
require 'kontena/main_command' describe Kontena::MainCommand do let(:subject) { described_class.new('kontena') } describe '--version' do it 'outputs the version number and exits' do expect do expect{subject.run(['--version'])}.to output(/kontena-cli #{Kontena::Cli::VERSION}/).to_stdout end.to raise_error(SystemExit) do |exc| expect(exc.status).to eq 0 end end end end
Version data entries
49 entries across 49 versions & 1 rubygems