Sha256: 494f59caca3d954d1693e00c48ca1457b3a15f778e3fc93aa7933b882d9036ab
Contents?: true
Size: 367 Bytes
Versions: 31
Compression:
Stored size: 367 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(subject).to receive(:installer).and_raise(StandardError, 'bar') expect{subject.run(['foofoo'])}.to exit_with_error.and output(/StandardError/).to_stderr end end
Version data entries
31 entries across 31 versions & 1 rubygems