Sha256: 7f619def6fc26bb798ab6c732a624b4f0b4aab56e009df05ed92e127285ce882
Contents?: true
Size: 408 Bytes
Versions: 1
Compression:
Stored size: 408 Bytes
Contents
require_relative "../../../spec_helper" require 'kontena/cli/master/use_command' describe Kontena::Cli::Master::UseCommand do include ClientHelpers let(:subject) do described_class.new(File.basename($0)) end describe '#use' do it 'should update current master' do expect(subject).to receive(:current_master=).with('some_master') subject.run(['some_master']) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kontena-cli-0.16.0.pre1 | spec/kontena/cli/master/use_command_spec.rb |