Sha256: 95085e40016e4010640b4badb82b90f8427dd5eef6a80c97b910da727b55c5d8
Contents?: true
Size: 918 Bytes
Versions: 14
Compression:
Stored size: 918 Bytes
Contents
require 'kontena/cli/cloud_command' describe Kontena::Cli::CloudCommand do let(:subject) { described_class.new('kontena') } describe '#subcommand_missing' do it 'suggests plugin install for known cloud plugin commands' do expect{subject.run(['platform', 'xyz'])}.to exit_with_error.and output(/has not been installed/).to_stderr expect{subject.run(['organization', 'xyz'])}.to exit_with_error.and output(/has not been installed/).to_stderr expect{subject.run(['ir', 'xyz'])}.to exit_with_error.and output(/has not been installed/).to_stderr expect{subject.run(['region', 'xyz'])}.to exit_with_error.and output(/has not been installed/).to_stderr expect{subject.run(['node', 'xyz'])}.to exit_with_error.and output(/has not been installed/).to_stderr expect{subject.run(['token', 'xyz'])}.to exit_with_error.and output(/has not been installed/).to_stderr end end end
Version data entries
14 entries across 14 versions & 1 rubygems