Sha256: b8cd87a25dd1ba507501d1591ccc584fe18c97eae05056b9d440f92754f93bb9
Contents?: true
Size: 396 Bytes
Versions: 18
Compression:
Stored size: 396 Bytes
Contents
require 'kontena/cli/plugins/install_command' describe Kontena::Cli::Plugins::InstallCommand do let(:subject) { described_class.new([]) } it 'exits with error if plugin not found' do expect(Kontena::PluginManager.instance).to receive(:install_plugin).and_raise(StandardError, 'bar') expect{subject.run(['foofoo'])}.to exit_with_error.and output(/StandardError/).to_stderr end end
Version data entries
18 entries across 18 versions & 1 rubygems