spec/backend/exec/build_command_spec.rb in specinfra-2.0.0.beta1 vs spec/backend/exec/build_command_spec.rb in specinfra-2.0.0.beta2

- old
+ new

@@ -1,9 +1,9 @@ require 'spec_helper' -include SpecInfra::Helper::Exec +include Specinfra::Helper::Exec -describe SpecInfra::Backend::Exec do +describe Specinfra::Backend::Exec do describe '#build_command' do context 'with simple command' do it 'should escape spaces' do expect(backend.build_command('test -f /etc/passwd')).to eq '/bin/sh -c test\ -f\ /etc/passwd' end