Sha256: d05be2a08c90d9a6fa8c699eb7bf6733aa66fa7ae11a5cc399b1263b68c09e88
Contents?: true
Size: 486 Bytes
Versions: 4
Compression:
Stored size: 486 Bytes
Contents
require 'spec_helper' RSpec.describe VirusScanService::KasperskyRunner::WindowsExecutor do subject { described_class.new } let(:desired_cmd) { "avp.com SCAN /tmp/scan_file /i4 /fa /RA:/tmp/bar.log" } describe '#scan' do it 'should exectute correct command' do expect(subject) .to receive(:system) .with(*desired_cmd.split(' ')) subject.scan(Pathname.new('/tmp').join('scan_file'), Pathname.new('/tmp').join('bar.log')) end end end
Version data entries
4 entries across 4 versions & 1 rubygems