Sha256: b5a1a67542a6c41fc89c538c6deb253a327d967e5a0474d7681f0cf34dc04082
Contents?: true
Size: 328 Bytes
Versions: 22
Compression:
Stored size: 328 Bytes
Contents
require 'spec_helper' require 'rspec-system/util' describe RSpecSystem::Util do let(:cls) do cls = Object.new cls.extend(RSpecSystem::Util) end describe '#shellescape' do it 'should escape strings' do cls.shellescape('echo "foo" > /tmp/baz').should == 'echo\ \\"foo\\"\ \>\ /tmp/baz' end end end
Version data entries
22 entries across 22 versions & 1 rubygems