Sha256: cf952d66326b78d69a4a0ff7ffef2259b355530b7de80ce081f5bd55145685e9
Contents?: true
Size: 363 Bytes
Versions: 8
Compression:
Stored size: 363 Bytes
Contents
require 'spec_helper' describe GenericFile do describe "#virus_check" do it "should return the results of running ClamAV scanfile method" do ClamAV.instance.should_receive(:scanfile).and_return(1) expect { Sufia::GenericFile::Actions.virus_check(File.new(fixture_path + '/world.png')) }.to raise_error(Sufia::VirusFoundError) end end end
Version data entries
8 entries across 8 versions & 1 rubygems