Sha256: bec13a69c827a01d0caebfe3160af223a8371c571c024118237c2b33454d30d3
Contents?: true
Size: 502 Bytes
Versions: 12
Compression:
Stored size: 502 Bytes
Contents
require 'spec_helper' RSpec.describe Aruba::Platforms::UnixCommandString do let(:command_string) { described_class.new(base_command) } describe '#to_a' do context 'with a command with a path' do let(:base_command) { '/foo/bar' } it { expect(command_string.to_a).to eq [base_command] } end context 'with a command with a path containing spaces' do let(:base_command) { '/foo bar/baz' } it { expect(command_string.to_a).to eq [base_command] } end end end
Version data entries
12 entries across 12 versions & 2 rubygems